diff options
| author | 2021-03-10 15:18:34 +0800 | |
|---|---|---|
| committer | 2021-03-10 13:37:33 -0800 | |
| commit | a9c80b03e586fd3819089fbd33c38fb65ad5e00c (patch) | |
| tree | 9d45403f7d40301263966e1e3bdf700c438d8d8f /tools/lib/bpf/libbpf_util.h | |
| parent | selftests/bpf: Fix warning comparing pointer to 0 (diff) | |
| download | linux-rng-a9c80b03e586fd3819089fbd33c38fb65ad5e00c.tar.xz linux-rng-a9c80b03e586fd3819089fbd33c38fb65ad5e00c.zip | |
bpf: Fix warning comparing pointer to 0
Fix the following coccicheck warning:
./tools/testing/selftests/bpf/progs/fentry_test.c:67: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: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1615360714-30381-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
