diff options
author | Hariprasad Kelam <hariprasad.kelam@gmail.com> | 2019-05-25 12:02:57 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-05-28 11:56:05 +0300 |
commit | d98363b510ce9938a19b07fe3c02357d8c65d52a (patch) | |
tree | 1ab56fb10df2079d4c151f294676e679cffa7533 /tools/bpf/bpftool/Documentation/bpftool-perf.rst | |
parent | 92bd6820f2b11c2decdd92e1f9020e804dbc2ed1 (diff) | |
download | linux-d98363b510ce9938a19b07fe3c02357d8c65d52a.tar.xz |
libbpf: fix warning that PTR_ERR_OR_ZERO can be used
Fix below warning reported by coccicheck:
/tools/lib/bpf/libbpf.c:3461:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/bpftool/Documentation/bpftool-perf.rst')
0 files changed, 0 insertions, 0 deletions