summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorGuo Zhengkui <guozhengkui@vivo.com>2022-03-15 16:01:26 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-03-15 19:03:10 +0300
commitf98d6dd1e79d4b04c2e13e91a9348473cfa805a6 (patch)
tree75ac48a710e482fbff0424c22a25addd29fc2075 /Kconfig
parent8fa42d78f6354bb96ad3a079dcbef528ca9fa9e0 (diff)
downloadlinux-f98d6dd1e79d4b04c2e13e91a9348473cfa805a6.tar.xz
selftests/bpf: Clean up array_size.cocci warnings
Clean up the array_size.cocci warnings under tools/testing/selftests/bpf/: Use `ARRAY_SIZE(arr)` instead of forms like `sizeof(arr)/sizeof(arr[0])`. tools/testing/selftests/bpf/test_cgroup_storage.c uses ARRAY_SIZE() defined in tools/include/linux/kernel.h (sys/sysinfo.h -> linux/kernel.h), while others use ARRAY_SIZE() in bpf_util.h. Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220315130143.2403-1-guozhengkui@vivo.com
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions