kbuild: consolidate warning flags in scripts/Makefile.extrawarn
authorArnd Bergmann <arnd@arndb.de>
Fri, 11 Aug 2023 14:03:20 +0000 (16:03 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 20 Aug 2023 05:16:54 +0000 (14:16 +0900)
commite88ca24319e427a685a2e9e3a124ad5beca01158
tree5664f11c3920a55f42a77d32d9e282734914643e
parent077af782e2c333f056cbd713f065bd0009a79a57
kbuild: consolidate warning flags in scripts/Makefile.extrawarn

Warning options are enabled and disabled in inconsistent ways and
inconsistent locations. Start rearranging those by moving all options
into Makefile.extrawarn.

This should not change any behavior, but makes sure we can group them
in a way that ensures that each warning that got temporarily disabled
is turned back on at an appropriate W=1 level later on.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile
scripts/Makefile.extrawarn