diff options
author | Brendan Higgins <brendanhiggins@google.com> | 2021-09-30 00:27:11 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-10-07 02:53:42 +0300 |
commit | 6a1e2d93d55b000962b82b9a080006446150b022 (patch) | |
tree | a94c50ee07c5c6721f1e369a45e67c0eddc11157 /tools | |
parent | 2326f3cdba1d105b68cc1295e78f17ae8faa5a76 (diff) | |
download | linux-6a1e2d93d55b000962b82b9a080006446150b022.tar.xz |
device property: build kunit tests without structleak plugin
The structleak plugin causes the stack frame size to grow immensely when
used with KUnit:
../drivers/base/test/property-entry-test.c:492:1: warning: the frame size of 2832 bytes is larger than 2048 bytes [-Wframe-larger-than=]
../drivers/base/test/property-entry-test.c:322:1: warning: the frame size of 2080 bytes is larger than 2048 bytes [-Wframe-larger-than=]
../drivers/base/test/property-entry-test.c:250:1: warning: the frame size of 4976 bytes is larger than 2048 bytes [-Wframe-larger-than=]
../drivers/base/test/property-entry-test.c:115:1: warning: the frame size of 3280 bytes is larger than 2048 bytes [-Wframe-larger-than=]
Turn it off in this file.
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions