diff --git a/[refs] b/[refs] index f1d6014ee318..b8b200f4d724 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 05a178ecdc7396b78dfbb5d8bda65108b37b8672 +refs/heads/master: 5d57eeb52ae71a03c8e083a9b0a818a9b63ca440 diff --git a/trunk/net/rds/iw.c b/trunk/net/rds/iw.c index b732efb5b634..d16e1cbc8e83 100644 --- a/trunk/net/rds/iw.c +++ b/trunk/net/rds/iw.c @@ -233,8 +233,8 @@ static int rds_iw_laddr_check(__be32 addr) * IB and iWARP capable NICs. */ cm_id = rdma_create_id(NULL, NULL, RDMA_PS_TCP); - if (!cm_id) - return -EADDRNOTAVAIL; + if (IS_ERR(cm_id)) + return PTR_ERR(cm_id); memset(&sin, 0, sizeof(sin)); sin.sin_family = AF_INET;