Commit 23457b37 authored by Feng Yang's avatar Feng Yang Committed by Andrii Nakryiko
Browse files

selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE



The ARRAY_SIZE macro is more compact and more formal in linux source.

Signed-off-by: default avatarFeng Yang <yangfeng@kylinos.cn>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240903072559.292607-1-yangfeng59949@163.com
parent 6fee7a7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment