Re: [PATCH bpf-next] bpf: btf: fix inconsistent IS_ERR and PTR_ERR

From: Daniel Borkmann
Date: Wed Jul 25 2018 - 01:46:06 EST


On 07/24/2018 04:55 AM, YueHaibing wrote:
> Fix inconsistent IS_ERR and PTR_ERR in get_btf,
> the proper pointer to be passed as argument is '*btf'
>
> This issue was detected with the help of Coccinelle.
>
> Fixes: 2d3feca8c44f ("bpf: btf: print map dump and lookup with btf info")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied to bpf-next, thanks Yue!