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

From: Jakub Kicinski
Date: Mon Jul 23 2018 - 23:40:27 EST


On Tue, 24 Jul 2018 10:55:24 +0800, 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>

FWIW:

Acked-by: Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx>

Thanks!