lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51babd56c2fe53ba011152700a546151@perches.com>
Date:   Thu, 01 Jul 2021 12:35:29 -0700
From:   Joe Perches <joe@...ches.com>
To:     Steven Rostedt <rostedt@...dmis.org>
Cc:     Paul Burton <paulburton@...gle.com>,
        Joel Fernandes <joelaf@...gle.com>,
        linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
        stable@...r.kernel.org
Subject: Re: [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@...gle.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/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ