summaryrefslogtreecommitdiff
path: root/lib/ubsan.h
diff options
context:
space:
mode:
authorAndrey Ryabinin <aryabinin@virtuozzo.com>2019-05-06 13:45:27 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-06 21:12:09 +0300
commit9a91ad929f9a719c0c734abe791a27ab9444cd61 (patch)
tree44d9144094eb22b18cf8bbcf597aee1a189aa108 /lib/ubsan.h
parentf0996bc2978e02d2ea898101462b960f6119b18f (diff)
downloadlinux-9a91ad929f9a719c0c734abe791a27ab9444cd61.tar.xz
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 'lib/ubsan.h')
-rw-r--r--lib/ubsan.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ubsan.h b/lib/ubsan.h
index f4d8d0bd4016..b8fa83864467 100644
--- a/lib/ubsan.h
+++ b/lib/ubsan.h
@@ -57,11 +57,6 @@ struct nonnull_arg_data {
int arg_index;
};
-struct vla_bound_data {
- struct source_location location;
- struct type_descriptor *type;
-};
-
struct out_of_bounds_data {
struct source_location location;
struct type_descriptor *array_type;