Re: [PATCH] linux/find: ignore -Wtype-limits to reduce W=2 warnings by 34% tree-wide

From: Alexander Lobakin
Date: Wed Apr 27 2022 - 09:24:11 EST


From: Vincent MAILHOL <mailhol.vincent@xxxxxxxxxx>
Date: Wed, 27 Apr 2022 11:58:58 +0900

> + Alexander Lobakin <alexandr.lobakin@xxxxxxxxx>

I was okay even with the previous solution to modify
GENMASK_INPUT_CHECK() and this one is fine to me as well.
The presense of warnings on W=1 doesn't mean we shouldn't fix W=12
etc. Especially when their rootfs are in headers and blow up the
output. Especially when it's 1/3 of all warnings.
`make W=12[e] path/to/new/file` is still useful to ensure that we
don't add more warnings to the already existing ones. When there are
problematic header, it's easier to miss something and impossible to
pipe `make W=12e` in a script to do that in an automated manner.
Thanks!

Acked-by: Alexander Lobakin <alexandr.lobakin@xxxxxxxxx>

>
> On Wed. 27 Apr 2022 at 05:42, Yury Norov <yury.norov@xxxxxxxxx> wrote:

[...]

> Yours sincerely,
> Vincent Mailhol

Al