aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/core/cma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index d81c156a22b4..671f13738054 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -1289,7 +1289,7 @@ static int iw_conn_req_handler(struct iw_cm_id *cm_id,
1289 new_cm_id = rdma_create_id(listen_id->id.event_handler, 1289 new_cm_id = rdma_create_id(listen_id->id.event_handler,
1290 listen_id->id.context, 1290 listen_id->id.context,
1291 RDMA_PS_TCP); 1291 RDMA_PS_TCP);
1292 if (!new_cm_id) { 1292 if (IS_ERR(new_cm_id)) {
1293 ret = -ENOMEM; 1293 ret = -ENOMEM;
1294 goto out; 1294 goto out;
1295 } 1295 }