Re: [PATCH] libbpf: fix warning PTR_ERR_OR_ZERO can be used
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH] libbpf: fix warning PTR_ERR_OR_ZERO can be used
- From: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
- Date: Tue, 28 May 2019 11:26:33 +0200
- In-reply-to: <20190525090257.GA12104@hari-Inspiron-1545>
- References: <20190525090257.GA12104@hari-Inspiron-1545>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
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!
[Index of Archives]
[Linux Networking Development]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite Campsites]