kernel-ark/drivers/infiniband/hw/cxgb3
Dan Carpenter 9064d6055c 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: 13a239330a ("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>
2017-07-20 11:20:49 -04:00
..
cxio_dbg.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_hal.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
cxio_hal.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_resource.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_resource.h
cxio_wr.h
iwch_cm.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
iwch_cm.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_cq.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_ev.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_mem.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_provider.c IB/cxgb3: Fix error codes in iwch_alloc_mr() 2017-07-20 11:20:49 -04:00
iwch_provider.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_qp.c networking: convert many more places to skb_put_zero() 2017-06-16 11:48:35 -04:00
iwch.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch.h
Kconfig
Makefile
tcb.h