diff options
author | Dan Carpenter <[email protected]> | 2017-07-13 10:48:00 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-07-20 11:20:49 -0400 |
commit | 9064d6055c14f700aa13f7c72fd3e63d12bee643 (patch) | |
tree | b638689f886be6aa1cd4652f9f0d5c13f3c007f0 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 6ebedacbb44602d4dec3348dee5ec31dd9b09521 (diff) |
IB/cxgb3: Fix error codes in iwch_alloc_mr()
We accidentally don't set the error code on some error paths. It means
return ERR_PTR(0) which is NULL and results in a NULL dereference in the
caller.
Fixes: 13a239330abd ("RDMA/cxgb3: Don't ignore insert_handle() failures")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Steve Wise <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions