Re: [PATCH bpf-next] bpf: btf: fix inconsistent IS_ERR and PTR_ERR
From: David Miller
Date: Mon Jul 23 2018 - 23:20:43 EST
From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Tue, 24 Jul 2018 10:55:24 +0800
> 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>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>