diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-20 04:36:52 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-20 17:03:52 +0300 |
commit | ede6bc88d6bbe16a938de2b00f60f4e03768c988 (patch) | |
tree | 5f5343ea1f682eb7f73b6cd476e005115d98a985 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1f7267232711dd2453f9ceccd41906657afbd825 (diff) | |
download | linux-ede6bc88d6bbe16a938de2b00f60f4e03768c988.tar.xz |
bpf: Use PTR_ERR_OR_ZERO in xsk_map_inc()
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions