RDMA/cxgb4: Initialization errors can cause crash
authorSteve Wise <swise@opengridcomputing.com>
Tue, 10 May 2011 05:06:22 +0000 (22:06 -0700)
committerRoland Dreier <roland@purestorage.com>
Tue, 10 May 2011 05:06:22 +0000 (22:06 -0700)
commitbbe9a0a2bc07cf30c5b89b51154f2c87200a5dfd
treef2040a64347602937a12b8f84b5fab7beb23095c
parent30c95c2d495c1c8d4d6a97bb9f4e4eacb91ba1d2
RDMA/cxgb4: Initialization errors can cause crash

c4iw_uld_add() must return ERR_PTR() values instead of NULL on failure.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/device.c