diff options
author | Leon Romanovsky <[email protected]> | 2019-10-29 07:57:21 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-10-31 15:31:49 -0300 |
commit | 546d30099ed204792083f043cd7e016de86016a3 (patch) | |
tree | c912303ff562f4f5b5eca003c946cc7044ee5dc4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | d5b60e26e86a463ca83bb5ec502dda6ea685159e (diff) |
RDMA/mlx5: Return proper error value
Returned value from mlx5_mr_cache_alloc() is checked to be error or real
pointer. Return proper error code instead of NULL which is not checked
later.
Fixes: 81713d3788d2 ("IB/mlx5: Add implicit MR support")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions