Skip to content
Commit d98363b5 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Daniel Borkmann
Browse files

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: default avatarHariprasad Kelam <hariprasad.kelam@gmail.com>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 92bd6820
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment