projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extcon: Add an API to get extcon device from dt node
[firefly-linux-kernel-4.4.55.git]
/
net
/
rds
/
rdma.c
diff --git
a/net/rds/rdma.c
b/net/rds/rdma.c
index 8920f2a83327a42f10d20acdfb651f9c1b9620a3..4e37c1cbe8b2faf5928af6be551f3f5551684411 100644
(file)
--- a/
net/rds/rdma.c
+++ b/
net/rds/rdma.c
@@
-567,7
+567,7
@@
int rds_cmsg_rdma_args(struct rds_sock *rs, struct rds_message *rm,
goto out;
}
- if (args->nr_local >
(u64)UINT_MAX
) {
+ if (args->nr_local >
UIO_MAXIOV
) {
ret = -EMSGSIZE;
goto out;
}