]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf29411bef166f626baafff1b5433f2f842febc0
tree0657ae59ce2ac5fbdf16c5524412fabef157c4f7
parente670fe125403213a88610c3ca8ce52787bc59a7c
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