summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.ubsan
diff options
context:
space:
mode:
authorAndrey Ryabinin2019-05-06 12:45:27 +0200
committerLinus Torvalds2019-05-06 20:12:09 +0200
commit9a91ad929f9a719c0c734abe791a27ab9444cd61 (patch)
tree44d9144094eb22b18cf8bbcf597aee1a189aa108 /scripts/Makefile.ubsan
parentubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings (diff)
downloadkernel-qcow2-linux-9a91ad929f9a719c0c734abe791a27ab9444cd61.tar.gz
kernel-qcow2-linux-9a91ad929f9a719c0c734abe791a27ab9444cd61.tar.xz
kernel-qcow2-linux-9a91ad929f9a719c0c734abe791a27ab9444cd61.zip
ubsan: Remove vla bound checks.
The kernel the kernel is built with -Wvla for some time, so is not supposed to have any variable length arrays. Remove vla bounds checking from ubsan since it's useless now. Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.ubsan')
-rw-r--r--scripts/Makefile.ubsan1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.ubsan b/scripts/Makefile.ubsan
index 38b2b4818e8e..019771b845c5 100644
--- a/scripts/Makefile.ubsan
+++ b/scripts/Makefile.ubsan
@@ -3,7 +3,6 @@ ifdef CONFIG_UBSAN
CFLAGS_UBSAN += $(call cc-option, -fsanitize=shift)
CFLAGS_UBSAN += $(call cc-option, -fsanitize=integer-divide-by-zero)
CFLAGS_UBSAN += $(call cc-option, -fsanitize=unreachable)
- CFLAGS_UBSAN += $(call cc-option, -fsanitize=vla-bound)
CFLAGS_UBSAN += $(call cc-option, -fsanitize=signed-integer-overflow)
CFLAGS_UBSAN += $(call cc-option, -fsanitize=bounds)
CFLAGS_UBSAN += $(call cc-option, -fsanitize=object-size)