commit | d98363b510ce9938a19b07fe3c02357d8c65d52a | [log] [tgz] |
---|---|---|
author | Hariprasad Kelam <hariprasad.kelam@gmail.com> | Sat May 25 14:32:57 2019 +0530 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue May 28 10:56:05 2019 +0200 |
tree | 1ab56fb10df2079d4c151f294676e679cffa7533 | |
parent | 92bd6820f2b11c2decdd92e1f9020e804dbc2ed1 [diff] |
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>