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
/
ib.c
diff --git
a/net/rds/ib.c
b/net/rds/ib.c
index 4933b380985eb730b496dd21152dc470fff7a10c..b9bcd32431e17f19dbc7b5b835a674d59ac8edef 100644
(file)
--- a/
net/rds/ib.c
+++ b/
net/rds/ib.c
@@
-224,8
+224,8
@@
static int rds_ib_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.071798 seconds
and
5
git commands to generate.