[PATCH] linux/find: ignore -Wtype-limits to reduce W=2 warnings by 34% tree-wide
Alexander Lobakin
alexandr.lobakin@intel.com
Wed Apr 27 13:21:20 GMT 2022
From: Vincent MAILHOL <mailhol.vincent@wanadoo.fr>
Date: Wed, 27 Apr 2022 11:58:58 +0900
> + Alexander Lobakin <alexandr.lobakin@intel.com>
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@intel.com>
>
> On Wed. 27 Apr 2022 at 05:42, Yury Norov <yury.norov@gmail.com> wrote:
[...]
> Yours sincerely,
> Vincent Mailhol
Al
More information about the Gcc
mailing list