Shuah Khan
066b34aa54
tools: fix ARRAY_SIZE defines in tools and selftests hdrs
...
tools/include/linux/kernel.h and kselftest_harness.h are missing
ifndef guard around ARRAY_SIZE define. Fix them to avoid duplicate
define errors during compile when another file defines it. This
problem was found when compiling selftests that include a header
with ARRAY_SIZE define.
ARRAY_SIZE is defined in several selftests. There are about 25+
duplicate defines in various selftests source and header files.
Add ARRAY_SIZE to kselftest.h in preparation for removing duplicate
ARRAY_SIZE defines from individual test files.
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org >
2021-12-10 17:50:17 -07:00
..
2017-06-05 09:28:14 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2021-09-08 11:50:27 -07:00
2020-02-04 03:05:26 +00:00
2021-05-22 15:09:07 -10:00
2020-09-21 15:00:40 -07:00
2017-11-02 11:10:55 +01:00
2021-01-15 16:31:46 -03:00
2021-08-19 15:39:22 -03:00
2021-09-13 15:51:41 -07:00
2020-12-18 17:32:26 -03:00
2021-05-22 15:09:07 -10:00
2021-03-06 16:54:30 -03:00
2020-12-18 17:32:28 -03:00
2017-11-02 11:10:55 +01:00
2017-06-05 09:28:14 +02:00
2019-06-08 13:42:13 -06:00
2021-02-08 12:28:07 +01:00
2021-01-14 18:34:29 -08:00
2017-06-05 09:28:14 +02:00
2017-06-05 09:28:14 +02:00
2017-11-02 11:10:55 +01:00
2017-11-04 09:27:46 +01:00
2017-11-02 11:10:55 +01:00
2017-06-05 09:28:14 +02:00
2020-07-10 12:00:02 +02:00
2020-08-07 11:33:21 -07:00
2020-06-09 09:39:10 -07:00
2021-07-14 14:39:36 -03:00
2017-11-02 11:10:55 +01:00
2021-12-10 17:50:17 -07:00
2017-06-05 09:28:14 +02:00
2021-10-20 10:30:59 -03:00
2017-11-02 11:10:55 +01:00
2018-09-10 13:48:24 +02:00
2019-05-30 11:26:32 -07:00
2021-04-15 16:38:02 -03:00
2021-11-30 09:14:42 -08:00
2017-11-02 11:10:55 +01:00
2017-06-05 09:28:14 +02:00
2018-09-10 13:48:23 +02:00
2019-03-05 21:07:14 -08:00
2021-09-30 21:24:07 -04:00
2021-09-13 10:18:28 -07:00
2020-12-15 12:13:46 -08:00
2017-06-05 09:28:14 +02:00
2020-04-21 10:29:19 -06:00
2021-02-17 14:07:31 +01:00
2019-06-13 15:38:34 -07:00
2017-11-02 11:10:55 +01:00
2019-08-22 11:12:36 -03:00
2017-06-05 09:28:14 +02:00
2019-07-05 23:48:07 +02:00
2018-10-21 10:45:57 -04:00
2017-11-02 11:10:55 +01:00
2021-03-11 16:04:39 +01:00
2020-11-27 08:34:52 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2021-03-08 10:42:03 -03:00
2019-07-09 10:13:26 -03:00