aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-13 10:48:00 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-20 11:20:49 -0400
commit9064d6055c14f700aa13f7c72fd3e63d12bee643 (patch)
treeb638689f886be6aa1cd4652f9f0d5c13f3c007f0 /drivers/infiniband/hw/ocrdma
parentcxgb4: Fix error codes in c4iw_create_cq() (diff)
downloadlinux-dev-9064d6055c14f700aa13f7c72fd3e63d12bee643.tar.xz
linux-dev-9064d6055c14f700aa13f7c72fd3e63d12bee643.zip
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 <dan.carpenter@oracle.com> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma')
0 files changed, 0 insertions, 0 deletions