diff options
author | 2022-12-22 23:28:21 -0800 | |
---|---|---|
committer | 2023-01-02 08:59:33 -0800 | |
commit | 5b24ac2dfd3eb3e36f794af3aa7f2828b19035bd (patch) | |
tree | 52bec08b4648f17f814baead3bde8143bb0d20d8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 6.2-rc2 (diff) | |
download | wireguard-linux-5b24ac2dfd3eb3e36f794af3aa7f2828b19035bd.tar.xz wireguard-linux-5b24ac2dfd3eb3e36f794af3aa7f2828b19035bd.zip |
kcsan: test: don't put the expect array on the stack
Size of the 'expect' array in the __report_matches is 1536 bytes, which
is exactly the default frame size warning limit of the xtensa
architecture.
As a result allmodconfig xtensa kernel builds with the gcc that does not
support the compiler plugins (which otherwise would push the said
warning limit to 2K) fail with the following message:
kernel/kcsan/kcsan_test.c:257:1: error: the frame size of 1680 bytes
is larger than 1536 bytes
Fix it by dynamically allocating the 'expect' array.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Marco Elver <elver@google.com>
Tested-by: Marco Elver <elver@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions