linux/drivers/infiniband/hw/qedr
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
..
Kconfig
main.c RDMA/qedr: Dispatch port active event from qedr_add 2017-01-24 15:35:08 -05:00
Makefile
qedr_cm.c Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
qedr_cm.h RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
qedr_hsi_rdma.h
qedr_hsi.h
qedr.h RDMA/qedr: Dispatch port active event from qedr_add 2017-01-24 15:35:08 -05:00
verbs.c RDMA/qedr: Fix some error handling 2017-02-19 09:27:29 -05:00
verbs.h