android_kernel_xiaomi_sm8350/drivers/infiniband/hw/nes
Chien Tung 9300c0c067 RDMA/nes: Resurrect error path dead code
Adrian Bunk pointed out that a Coverity scan found some apparently
dead code in nes_verbs.c that really shouldn't have been dead.

The function nes_create_cq() was missing the assignment

	err = 1;

just prior to an iteration that conditionally set err = 0 if a PBL was
found for a given virtual CQ.  I also noticed we should have been
returning -EFAULT on a couple related error paths.

Signed-off-by: Chien Tung <ctung@neteffect.com>
Signed-off-by: Glenn Streiff <gstreiff@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-02-25 16:00:30 -08:00
..
Kconfig
Makefile
nes_cm.c
nes_cm.h
nes_context.h
nes_hw.c
nes_hw.h
nes_nic.c RDMA/nes: Fix VLAN support 2008-02-16 21:16:33 -08:00
nes_user.h
nes_utils.c
nes_verbs.c RDMA/nes: Resurrect error path dead code 2008-02-25 16:00:30 -08:00
nes_verbs.h
nes.c
nes.h