diff options
| author | YueHaibing <[email protected]> | 2018-07-24 02:55:24 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-07-25 05:43:31 +0000 |
| commit | 2cc512c1fa1ee99879d55d1cb4e3fd0e6eab35b3 (patch) | |
| tree | a0fa61d6fc238f53e1ff6fb6617169619fd72345 /tools/testing/selftests/bpf/tcp_client.py | |
| parent | net/sched: add skbprio scheduler (diff) | |
| download | kernel-2cc512c1fa1ee99879d55d1cb4e3fd0e6eab35b3.tar.gz kernel-2cc512c1fa1ee99879d55d1cb4e3fd0e6eab35b3.zip | |
bpf: btf: fix inconsistent IS_ERR and PTR_ERR
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 <[email protected]>
Acked-by: David S. Miller <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/tcp_client.py')
0 files changed, 0 insertions, 0 deletions
