diff options
| author | Hariprasad Kelam <[email protected]> | 2019-05-25 09:02:57 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-05-28 08:56:05 +0000 |
| commit | d98363b510ce9938a19b07fe3c02357d8c65d52a (patch) | |
| tree | 1ab56fb10df2079d4c151f294676e679cffa7533 /tools/bpf/bpftool/prog.c | |
| parent | bpf: style fix in while(!feof()) loop (diff) | |
| download | kernel-d98363b510ce9938a19b07fe3c02357d8c65d52a.tar.gz kernel-d98363b510ce9938a19b07fe3c02357d8c65d52a.zip | |
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 <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
