lkml.org 
[lkml]   [2021]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] tracing: Simplify & fix saved_tgids logic
On 2021-07-01 11:26, Steven Rostedt wrote:
> [ Added Joe Perches ]
>
> On Thu, 1 Jul 2021 11:12:54 -0700
> Paul Burton <paulburton@google.com> 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/

\
 
 \ /
  Last update: 2021-07-01 21:36    [W:0.084 / U:1.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site