linux/drivers/infiniband/hw
Christophe Jaillet 4cd33aafe4 RDMA/qedr: Fix some error handling
'qedr_alloc_pbl_tbl()' can not return NULL.

In qedr_init_user_queue():
 - simplify the test for the return value, no need to test for NULL
 - propagate the error pointer if needed, otherwise 0 (success) is returned.
   This is spurious.

In init_mr_info():
 - test the return value with IS_ERR
 - propagate the error pointer if needed instead of an exlictit -ENOMEM.
   This is a no-op as the only error pointer that we can have here is
   already -ENOMEM

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-02-19 09:27:29 -05:00
..
bnxt_re RDMA/bnxt_re: add DCB dependency 2017-02-19 09:27:29 -05:00
cxgb3 RDMA/core: Add the function ib_mtu_int_to_enum 2017-01-24 15:34:22 -05:00
cxgb4 iw_cxgb4: clean up send_connect() 2017-02-19 09:18:30 -05:00
hfi1 IB/hfi1: use size_t for passing array length 2017-02-19 09:18:47 -05:00
hns IB/hns: include linux/module.h 2017-02-19 09:27:28 -05:00
i40iw Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
mlx4 RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
mlx5 Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
mthca IB/mthca: switch to pci_alloc_irq_vectors 2017-02-19 09:18:45 -05:00
nes Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
ocrdma RDMA/ocrdma: Replace BUG() with BUG_ON() 2017-01-12 12:21:52 -05:00
qedr RDMA/qedr: Fix some error handling 2017-02-19 09:27:29 -05:00
qib IB/hfi1, qib, rdmavt: Move AETH defines to rdma/ib_hdrs.h 2017-02-19 09:18:44 -05:00
usnic RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
vmw_pvrdma IB/vmw_pvrdma: Expose vendor error to ULPs 2017-02-19 09:27:28 -05:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00