[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72nyGijSO8ShcDx5eg=O1+_hO9-gOgrqmoDYhc9K0Mojow@mail.gmail.com>
Date: Mon, 17 Jan 2022 22:41:16 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: "Jason A. Donenfeld" <Jason@...c4.com>,
Andrew Lunn <andrew@...n.ch>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: list iterator spacing: clang-format vs checkpatch
Hi Joe,
On Mon, Jan 17, 2022 at 7:05 PM Joe Perches <joe@...ches.com> wrote:
>
> Doubtful as it's likely the .clang-format for_each list is
> just out of date for your particular for_each type use and
> the scripted bit that it uses to create them hasn't be
I will send an update.
> updated in awhile. Also that scripted bit only works on files
> in include/ and not anything locally defined.
>
> [...]
>
> So it has false positives for some functions and not macros.
Yeah, for `clang-format` I tried to be conservative having only
`include/`, but we could change that.
Cheers,
Miguel
Powered by blists - more mailing lists