diff options
author | Guo Zhengkui <[email protected]> | 2022-04-19 11:24:51 +0800 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2022-04-28 17:57:13 +0100 |
commit | f82efe5b9a3ae75a557097a074b0125032e76a83 (patch) | |
tree | 769758fbe3a6e1597e3c7501f44ae9de024ba086 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 212b0426bc361eede2f9ce43fb2a5b01070000a1 (diff) |
kselftest/arm64: fix array_size.cocci warning
Fix the following coccicheck warnings:
tools/testing/selftests/arm64/mte/check_child_memory.c:110:25-26:
WARNING: Use ARRAY_SIZE
tools/testing/selftests/arm64/mte/check_child_memory.c:88:24-25:
WARNING: Use ARRAY_SIZE
tools/testing/selftests/arm64/mte/check_child_memory.c:90:20-21:
WARNING: Use ARRAY_SIZE
tools/testing/selftests/arm64/mte/check_child_memory.c:147:24-25:
WARNING: Use ARRAY_SIZE
`ARRAY_SIZE` macro is defined in tools/testing/selftests/kselftest.h.
Signed-off-by: Guo Zhengkui <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions