OpenCloudOS-Kernel/drivers/base/test
Brendan Higgins 6a1e2d93d5 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>
2021-10-06 17:53:42 -06:00
..
Kconfig kunit: software node: adhear to KUNIT formatting standard 2021-04-15 08:56:27 +02:00
Makefile device property: build kunit tests without structleak plugin 2021-10-06 17:53:42 -06:00
property-entry-test.c device property: Remove some casts in property-entry-test 2021-06-23 16:37:21 -06:00
test_async_driver_probe.c driver core: Fix test_async_driver_probe if NUMA is disabled 2020-01-14 16:14:47 +01:00