Messages in this thread | | | Subject | Re: [PATCH v3] selftests/bpf: fix array_size.cocci warning | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 15 Mar 2022 16:20:10 +0000 |
| |
Hello:
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@iogearbox.net>:
On Tue, 15 Mar 2022 21:01:26 +0800 you wrote: > Fix the array_size.cocci warning in 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. > > [...]
Here is the summary with links: - [v3] selftests/bpf: fix array_size.cocci warning https://git.kernel.org/bpf/bpf-next/c/f98d6dd1e79d
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |