bitfield: build kunit tests without structleak plugin
authorArnd Bergmann <arnd@arndb.de>
Wed, 29 Sep 2021 21:27:13 +0000 (14:27 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 6 Oct 2021 23:53:54 +0000 (17:53 -0600)
commita8cf90332ae3e2b53813a146a99261b6a5e16a73
tree0657ae59ce2ac5fbdf16c5524412fabef157c4f7
parent33d4951e021bb67ebd6bdb01f3d437c0f45b3c0c
bitfield: build kunit tests without structleak plugin

The structleak plugin causes the stack frame size to grow immensely:

lib/bitfield_kunit.c: In function 'test_bitfields_constants':
lib/bitfield_kunit.c:93:1: error: the frame size of 7440 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]

Turn it off in this file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/Makefile