[PATCH] kselftest/arm64: fix array_size.cocci warning
Shuah Khan
skhan at linuxfoundation.org
Tue Apr 19 08:55:30 PDT 2022
On 4/18/22 9:24 PM, Guo Zhengkui wrote:
> 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 <guozhengkui at vivo.com>
Looks good to me.
Reviewed-by: Shuah Khan <skhan at linuxfoundation.org>
thanks,
-- Shuah
More information about the linux-arm-kernel
mailing list