]> git.ipfire.org Git - thirdparty/linux.git/commit
kernel: kcsan: kcsan_test: build without structleak plugin
authorAnders Roxell <anders.roxell@linaro.org>
Mon, 28 Nov 2022 10:43:58 +0000 (11:43 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Dec 2022 03:30:18 +0000 (19:30 -0800)
commit6fcd4267a840d0536b8e5334ad5f31e4105fce85
treed5c19abb39e7a34dc0f5a6b6316ec9a1f9cbc8ed
parent5370079c326f80bbc55853a1b2be8e92d75f070d
kernel: kcsan: kcsan_test: build without structleak plugin

Building kcsan_test with structleak plugin enabled makes the stack frame
size to grow.

kernel/kcsan/kcsan_test.c:704:1: error: the frame size of 3296 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]

Turn off the structleak plugin checks for kcsan_test.

Link: https://lkml.kernel.org/r/20221128104358.2660634-1-anders.roxell@linaro.org
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Marco Elver <elver@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Gow <davidgow@google.com>
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/kcsan/Makefile