Skip to content

Commit bf8a066

Browse files
committed
config: kunit: set FRAME_WARN to 2048
To avoid this compilation error: lib/kunit/test.c:800:1: error: the frame size of 1056 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
1 parent 84d062e commit bf8a066

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,8 @@ config_ipv6() {
380380
config_extras() {
381381
# to avoid warnings/errors, enable KUnit without the tests
382382
scripts/config -e KUNIT \
383-
-d KUNIT_ALL_TESTS
383+
-d KUNIT_ALL_TESTS \
384+
--set-val FRAME_WARN 2048
384385

385386
# For INET_MPTCP_DIAG
386387
scripts/config -e INET_DIAG \

0 commit comments

Comments
 (0)