diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-03-16 15:59:37 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-03-16 23:52:16 +0100 |
commit | ebda107e5f222a086c83ddf6d1ab1da97dd15810 (patch) | |
tree | 277c7f21cc5881b787bbe3e01cbcca8c7c86db89 /tools/testing/selftests/bpf/get_cgroup_id_user.c | |
parent | 5531939a4def86bea1e0adbbe0a13ebfbea36ccd (diff) | |
download | linux-ebda107e5f222a086c83ddf6d1ab1da97dd15810.tar.bz2 |
selftests/bpf: Fix warning comparing pointer to 0
Fix the following coccicheck warnings:
./tools/testing/selftests/bpf/progs/fexit_test.c:77:15-16: WARNING
comparing pointer to 0.
./tools/testing/selftests/bpf/progs/fexit_test.c:68:12-13: WARNING
comparing pointer to 0.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/1615881577-3493-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'tools/testing/selftests/bpf/get_cgroup_id_user.c')
0 files changed, 0 insertions, 0 deletions