Re: [PATCH] libbpf: fix warning PTR_ERR_OR_ZERO can be used

From: Daniel Borkmann
Date: Tue May 28 2019 - 05:30:01 EST


On 05/25/2019 11:02 AM, Hariprasad Kelam wrote:
> 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@xxxxxxxxx>

Applied, thanks!