linux_dsm_epyc7002/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 RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
cxio_wr.h tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
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 IB/cxgb3: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile chelsio: Move the Chelsio drivers 2011-08-10 19:54:52 -07:00
tcb.h RDMA/cxgb3: Add driver for Chelsio T3 RNIC 2007-02-12 16:16:18 -08:00