diff options
author | Guo Zhengkui <guozhengkui@vivo.com> | 2022-03-06 05:34:26 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-03-08 09:13:00 +0300 |
commit | 04b6de649e124f2ea9693a25a744e646c1203ff9 (patch) | |
tree | 5e354cdeb5061ecb23248d53b6bebbbb6503e528 /kernel/bpf/preload | |
parent | 03b9c7fa3f15f51bcd07f3828c2a01311e7746c4 (diff) | |
download | linux-04b6de649e124f2ea9693a25a744e646c1203ff9.tar.xz |
libbpf: Fix array_size.cocci warning
Fix the following coccicheck warning:
tools/lib/bpf/bpf.c:114:31-32: WARNING: Use ARRAY_SIZE
tools/lib/bpf/xsk.c:484:34-35: WARNING: Use ARRAY_SIZE
tools/lib/bpf/xsk.c:485:35-36: WARNING: Use ARRAY_SIZE
It has been tested with gcc (Debian 8.3.0-6) 8.3.0 on x86_64.
Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220306023426.19324-1-guozhengkui@vivo.com
Diffstat (limited to 'kernel/bpf/preload')
0 files changed, 0 insertions, 0 deletions