diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-07-08 21:07:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-07-09 18:00:56 -0700 |
commit | 355a3587d4ca09f2b1014778a7c8908351a91468 (patch) | |
tree | c86c195dd079efac1e763456f9b2b0ddd11dec4f /arch | |
parent | 2a89b99f580371b86ae9bafd6cbeccd3bfab524a (diff) | |
download | linux-355a3587d4ca09f2b1014778a7c8908351a91468.tar.bz2 |
kbuild: Move -Wtype-limits to W=2
-Wtype-limits is included in -Wextra which is added at W=1. It warns
(among other things) that 'comparison of an unsigned variable `< 0` is
always false. This causes noisy warnings, especially when used in
macros, hence it is more suitable for W=2.
Link: https://lore.kernel.org/lkml/CAHk-=wiKCXEWKJ9dWUimGbrVRo_N2RosESUw8E7m9AEtyZcu=w@mail.gmail.com/
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions