aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2024-01-30 22:12:55 +0000
committerKees Cook <[email protected]>2024-02-06 10:21:38 +0000
commit30edbdf9b98ddc9087f5f8b9a9644fa5c05fa5b1 (patch)
treeca2a60555c0217a9160f79c9f020d135e3744209 /lib/string_helpers.c
parentubsan: Use Clang's -fsanitize-trap=undefined option (diff)
downloadkernel-30edbdf9b98ddc9087f5f8b9a9644fa5c05fa5b1.tar.gz
kernel-30edbdf9b98ddc9087f5f8b9a9644fa5c05fa5b1.zip
ubsan: Silence W=1 warnings in self-test
Silence a handful of W=1 warnings in the UBSan selftest, which set variables without using them. For example: lib/test_ubsan.c:101:6: warning: variable 'val1' set but not used [-Wunused-but-set-variable] 101 | int val1 = 10; | ^ Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Reviewed-by: Marco Elver <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions