lkml.org 
[lkml]   [2021]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 11/20] linux/container_of.h: Cosmetic
From
Hi Joe and Andy,

On 11/20/21 17:33, Joe Perches wrote:
> On Sat, 2021-11-20 at 18:12 +0200, Andy Shevchenko wrote:
>> On Sat, Nov 20, 2021 at 3:03 PM Alejandro Colomar
>> <alx.manpages@gmail.com> wrote:
>>>
>>> Place braces in a ({}) expression
>>> similarly to how a function would have them.
>>
>> I don't think we need this change. ({ on one line is pretty much
>> idiomatic for macros.
>
> true
>
> $ grep-2.5.4 -rP --include=*.[ch] -oh '\(\s*\\?\s*\{' * | \
> sort | uniq -c | sort -rn
> 2756 ({
> 13 {
> 13 ( {
> 4 ( \
> 2 ( \
> 2 ( \
> 2 ( \
> 1 ( \
> 1 ( \
> 1 ( \
> 1 ( \
> 1 {
>
>

Thanks,
I'll drop that one.

Cheers,
Alex

--
Alejandro Colomar
Linux man-pages comaintainer; http://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

\
 
 \ /
  Last update: 2021-11-20 17:45    [W:0.133 / U:2.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site