diff options
| author | Jiapeng Chong <[email protected]> | 2021-03-10 06:22:46 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-03-10 21:37:11 +0000 |
| commit | 04ea63e34a2ee85cfd38578b3fc97b2d4c9dd573 (patch) | |
| tree | e8c2919bd0614697ec28edfec6b5e7e600543824 /tools/lib/bpf/libbpf_util.h | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (diff) | |
| download | kernel-04ea63e34a2ee85cfd38578b3fc97b2d4c9dd573.tar.gz kernel-04ea63e34a2ee85cfd38578b3fc97b2d4c9dd573.zip | |
selftests/bpf: Fix warning comparing pointer to 0
Fix the following coccicheck warning:
./tools/testing/selftests/bpf/progs/test_global_func10.c:17:12-13:
WARNING comparing pointer to 0.
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/1615357366-97612-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'tools/lib/bpf/libbpf_util.h')
0 files changed, 0 insertions, 0 deletions
