projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelv...
[deliverable/linux.git]
/
net
/
rds
/
iw.c
diff --git
a/net/rds/iw.c
b/net/rds/iw.c
index b732efb5b6345b0e5e923388258b500c4eb04208..d16e1cbc8e836559243e809fca5953f3471f0439 100644
(file)
--- a/
net/rds/iw.c
+++ b/
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;
This page took
0.025241 seconds
and
5
git commands to generate.