Skip to content
Commit 40fc7561 authored by Mirsad Todorovac's avatar Mirsad Todorovac Committed by Ingo Molnar
Browse files

selftests/x86/syscall: Fix coccinelle WARNING recommending the use of ARRAY_SIZE()



Coccinelle gives WARNING recommending the use of ARRAY_SIZE() macro definition
to improve the code readability:

  ./tools/testing/selftests/x86/syscall_numbering.c:316:35-36: WARNING: Use ARRAY_SIZE

Fixes: 15c82d98 ("selftests/x86/syscall: Update and extend syscall_numbering_64")
Signed-off-by: default avatarMirsad Todorovac <mtodorovac69@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/r/20241101111523.1293193-2-mtodorovac69@gmail.com
parent e008eeec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment