Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 8ff88bec authored by Guo Zhengkui's avatar Guo Zhengkui Committed by Shuah Khan
Browse files

selftests/vDSO: fix array_size.cocci warning


Fix the following coccicheck warning:

tools/testing/selftests/vDSO/vdso_test_correctness.c:309:46-47:
WARNING: Use ARRAY_SIZE
tools/testing/selftests/vDSO/vdso_test_correctness.c:373:46-47:
WARNING: Use ARRAY_SIZE

It has been tested with gcc (Debian 8.3.0-6) 8.3.0 on x86_64.

Signed-off-by: default avatarGuo Zhengkui <guozhengkui@vivo.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 31231092
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment