Max Filippov
3b154d5204
kcsan: test: don't put the expect array on the stack
...
[ Upstream commit 5b24ac2dfd3eb3e36f794af3aa7f2828b19035bd ]
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 >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-02-01 08:23:16 +01:00
..
2023-02-01 08:23:11 +01:00
2022-12-14 11:31:57 +01:00
2020-04-07 10:43:42 -07:00
2022-05-30 09:33:22 +02:00
2022-10-05 10:38:40 +02:00
2023-01-04 11:39:22 +01:00
2023-01-14 10:16:33 +01:00
2023-01-14 10:15:20 +01:00
2023-01-14 10:16:24 +01:00
2023-01-14 10:15:58 +01:00
2023-02-01 08:23:16 +01:00
2022-10-26 13:25:14 +02:00
2022-08-21 15:15:33 +02:00
2023-01-14 10:15:15 +01:00
2022-04-08 14:40:08 +02:00
2023-01-14 10:16:29 +01:00
2023-01-14 10:15:15 +01:00
2022-08-21 15:16:20 +02:00
2023-01-14 10:16:33 +01:00
2021-05-11 14:47:37 +02:00
2023-01-14 10:16:14 +01:00
2022-02-23 12:01:00 +01:00
2022-08-31 17:15:13 +02:00
2021-09-03 10:09:31 +02:00
2020-12-30 11:54:18 +01:00
2022-02-08 18:30:34 +01:00
2022-04-08 14:40:00 +02:00
2020-08-23 17:36:59 -05:00
2022-04-08 14:40:00 +02:00
2020-07-30 11:15:58 -07:00
2020-10-13 09:17:34 -07:00
2020-08-23 17:36:59 -05:00
2020-06-11 15:14:36 +02:00
2021-09-15 09:50:40 +02:00
2023-01-14 10:15:20 +01:00
2021-06-23 14:42:52 +02:00
2020-04-15 11:21:54 +02:00
2021-09-08 08:49:00 +02:00
2023-01-04 11:39:23 +01:00
2020-04-07 10:43:42 -07:00
2020-11-19 11:58:16 -08:00
2023-01-04 11:39:23 +01:00
2021-04-07 15:00:14 +02:00
2020-06-06 23:42:01 +09:00
2020-10-13 09:17:34 -07:00
2020-11-02 12:14:19 -08:00
2020-05-28 10:54:15 +02:00
2021-07-20 16:05:58 +02:00
2020-10-25 14:51:49 -07:00
2021-01-09 13:46:24 +01:00
2020-08-12 10:58:02 -07:00
2021-02-03 23:28:37 +01:00
2022-07-21 21:20:11 +02:00
2020-10-05 13:37:03 +02:00
2020-08-12 10:58:01 -07:00
2022-11-25 17:45:55 +01:00
2021-09-03 10:09:31 +02:00
2020-04-27 02:07:40 -04:00
2023-01-14 10:15:20 +01:00
2021-03-25 09:04:11 +01:00
2021-03-25 09:04:11 +01:00
2022-05-25 09:18:02 +02:00
2020-09-01 09:58:03 +02:00
2020-07-08 11:14:22 +02:00
2023-01-14 10:15:51 +01:00
2020-11-14 11:26:04 -08:00
2020-10-29 17:22:59 -05:00
2021-09-18 13:40:36 +02:00
2021-01-09 13:46:24 +01:00
2022-08-21 15:16:05 +02:00
2022-06-09 10:20:49 +02:00
2020-10-16 11:11:19 -07:00
2020-11-14 11:26:03 -08:00
2020-07-27 14:31:12 -04:00
2023-01-14 10:15:22 +01:00
2021-05-19 10:13:09 +02:00
2022-04-08 14:40:03 +02:00
2022-06-09 10:21:01 +02:00
2020-08-07 11:33:25 -07:00
2021-08-18 08:59:06 +02:00
2023-01-04 11:39:23 +01:00
2022-04-20 09:23:29 +02:00
2021-07-14 16:55:50 +02:00
2020-09-16 15:18:56 +02:00
2022-02-23 12:01:00 +01:00
2020-09-18 14:24:16 +01:00
2021-09-08 08:49:00 +02:00
2020-10-26 12:12:27 +01:00
2022-08-31 17:15:13 +02:00
2023-01-24 07:19:58 +01:00
2022-12-08 11:24:00 +01:00
2023-01-04 11:39:23 +01:00
2020-10-02 19:11:12 -07:00
2020-06-29 12:01:45 -07:00
2021-09-03 10:09:30 +02:00
2022-01-27 10:54:33 +01:00
2021-09-08 08:49:00 +02:00
2020-10-06 10:31:52 -07:00
2021-05-14 09:50:46 +02:00
2021-09-08 08:49:00 +02:00
2020-06-04 19:06:24 -07:00
2021-03-30 14:32:03 +02:00
2020-04-27 02:07:40 -04:00
2020-05-09 13:57:12 +02:00
2022-08-03 12:00:44 +02:00
2022-08-25 11:38:20 +02:00
2022-09-28 11:10:40 +02:00