Arnd Bergmann 1344794a59 Kbuild: add -Wno-shift-negative-value where -Wextra is used
As a preparation for moving to -std=gnu11, turn off the
-Wshift-negative-value option. This warning is enabled by gcc when
building with -Wextra for c99 or higher, but not for c89. Since
the kernel already relies on well-defined overflow behavior,
the warning is not helpful and can simply be disabled in
all locations that use -Wextra.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # LLVM/Clang v13.0.0 (x86-64)
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2022-03-13 17:30:31 +09:00
..
2021-10-07 11:04:05 -07:00
2021-12-17 21:51:59 -08:00
2021-12-09 09:31:45 +01:00
2021-12-17 21:51:59 -08:00
2021-12-17 21:51:59 -08:00
2021-12-17 21:51:59 -08:00
2021-11-02 16:47:49 -07:00
2021-12-17 21:51:59 -08:00
2021-12-17 21:51:59 -08:00
2021-11-22 17:35:32 +02:00