aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorEmil Goode <emilgoode@gmail.com>2012-08-19 13:59:40 -0400
committerRoland Dreier <roland@purestorage.com>2012-09-30 23:32:14 -0400
commitc079c28714e4d1a0b7cad120f84217e0fcde09a6 (patch)
tree12349a5ebbdfd7bbf847a76aa413aade7bfcbe5a /drivers/infiniband/ulp
parent979570e02981d4a8fc20b3cc8fd651856c98ee9d (diff)
RDMA/cxgb4: Fix error handling in create_qp()
The variable ret is assigned return values in a couple of places, but its value is never returned. This patch makes use of the ret variable so that the caller get correct error codes returned. The following changes are also introduced: - The alloc_oc_sq function can return -ENOSYS or -ENOMEM so we want to get the return value from it. - Change the label names to improve readability. Signed-off-by: Emil Goode <emilgoode@gmail.com> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions