OpenCloudOS-Kernel/drivers/base/test
Arnd Bergmann 38009c7667 drivers/base: build kunit tests without structleak plugin
The structleak plugin causes the stack frame size to grow immensely:

drivers/base/test/property-entry-test.c: In function 'pe_test_reference':
drivers/base/test/property-entry-test.c:481:1: error: the frame size of 2640 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
  481 | }
      | ^
drivers/base/test/property-entry-test.c: In function 'pe_test_uints':
drivers/base/test/property-entry-test.c:99:1: error: the frame size of 2592 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]

Turn it off in this file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210125124533.101339-3-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-27 14:35:18 +01:00
..
Kconfig drivers: base: default KUNIT_* fragments to KUNIT_ALL_TESTS 2020-06-01 14:24:25 -06:00
Makefile drivers/base: build kunit tests without structleak plugin 2021-01-27 14:35:18 +01:00
property-entry-test.c drivers/base/test: fix global-out-of-bounds error 2020-01-07 11:41:04 +01: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