aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2022-03-08 22:56:12 +0100
committerMasahiro Yamada <[email protected]>2022-03-13 17:30:31 +0900
commit1344794a59db2bd44b4919d2d75300fd3b1c2cd7 (patch)
tree74bf9a6d3894432e7251919fa6b80dd099af00cd /lib/test_fortify/write_overflow-strlcpy-src.c
parent754e0b0e35608ed5206d6a67a791563c631cec07 (diff)
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 <[email protected]> Acked-by: Jani Nikula <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Tested-by: Sedat Dilek <[email protected]> # LLVM/Clang v13.0.0 (x86-64) Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions