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

2018-07-24 Thread Daniel Borkmann
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") >

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

2018-07-24 Thread Daniel Borkmann
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") >