On 2021-07-01 11:26, Steven Rostedt wrote:
[ Added Joe Perches ]
On Thu, 1 Jul 2021 11:12:54 -0700
Paul Burton <paulburton@xxxxxxxxxx> wrote:
> not to mention, we don't
> use '//' comments in the kernel, so that would have to be changed.
D'oh! Apparently a year away from the kernel melted my internal style
checker. Interestingly though, checkpatch didn't complain about this
as
I would have expected...
Joe, should the above be added to checkpatch?
I do understand that there are a few cases it's acceptable. Like for
SPDX headers.
C99 comments are allowed since about 5 years ago.
And if you really want there's a checkpatch option to disable them.
https://lore.kernel.org/patchwork/patch/1031132/