diff options
| author | kbuild test robot <fengguang.wu@intel.com> | 2018-11-28 02:21:30 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-30 01:59:40 +0300 |
| commit | 90849f4d059ca8764f9c4273996d4fab3c1603b3 (patch) | |
| tree | 37cf0f1d059e3018fa84baa72ae2dbb3ae083b30 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 901018f29e65c2c442b09b9913473dd8cf8d3cee (diff) | |
| download | linux-90849f4d059ca8764f9c4273996d4fab3c1603b3.tar.xz | |
RDMA/uverbs: fix ptr_ret.cocci warnings
drivers/infiniband/core/uverbs_cmd.c:1095:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Fixes: 7106a9769715 ("RDMA/uverbs: Make write() handlers return 0 on success")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
