Messages in this thread | | | From | Andy Shevchenko <> | Date | Fri, 4 Mar 2022 20:46:08 +0200 | Subject | Re: [PATCH] linux/bits.h: fix -Wtype-limits warnings in GENMASK_INPUT_CHECK() |
| |
On Fri, Mar 4, 2022 at 7:36 PM Vincent Mailhol <mailhol.vincent@wanadoo.fr> wrote: >
> This pattern is harmless but because it occurs in header files > (example find_first_bit() from linux/find.h [1]) and because of the > include hell, the macro GENMASK_INPUT_CHECK() is accountable for 31% > (164714/532484) of all warnings when compiling all modules at W=2 > level.
Have you fixed W=1 warnings? Without fixing W=1 (which makes much more sense, when used with WERROR=y && COMPILE_TEST=y) this has no value.
NAK.
-- With Best Regards, Andy Shevchenko
| |