linux/drivers/infiniband
Wei Yongjun 4b07d85374 iw_cxgb4: Fix error return code in c4iw_rdev_open()
commit 15f7e3c21b upstream.

Fix to return error code -ENOMEM from the __get_free_page() error
handling case instead of 0, as done elsewhere in this function.

Fixes: 05eb23893c ("cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-01-19 20:18:07 +01:00
..
core IB/multicast: Check ib_find_pkey() return value 2017-01-09 08:32:23 +01:00
hw iw_cxgb4: Fix error return code in c4iw_rdev_open() 2017-01-19 20:18:07 +01:00
sw IB/rxe: Fix a memory leak in rxe_qp_cleanup() 2017-01-09 08:32:23 +01:00
ulp IPoIB: Avoid reading an uninitialized member variable 2017-01-09 08:32:23 +01:00
Kconfig qedr: Add RoCE driver framework 2016-10-14 15:00:10 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00