diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-18 17:45:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-18 17:45:30 -0400 |
commit | dba94f2155f581395ef9608418778e3491b3d470 (patch) | |
tree | 71b034aa2f6bafd5bb7ffcefe68c89cef6bbfc6d /net/9p/protocol.c | |
parent | 34a984f7b0cc6355a1e0c184251d0d4cc86f44d2 (diff) | |
parent | f569d3ef8254d4b3b8daa4f131f9397d48bf296c (diff) |
Merge tag 'for-linus-4.1-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs
Pull 9pfs updates from Eric Van Hensbergen:
"Some accumulated cleanup patches for kerneldoc and unused variables as
well as some lock bug fixes and adding privateport option for RDMA"
* tag 'for-linus-4.1-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
net/9p: add a privport option for RDMA transport.
fs/9p: Initialize status in v9fs_file_do_lock.
net/9p: Initialize opts->privport as it should be.
net/9p: use memcpy() instead of snprintf() in p9_mount_tag_show()
9p: use unsigned integers for nwqid/count
9p: do not crash on unknown lock status code
9p: fix error handling in v9fs_file_do_lock
9p: remove unused variable in p9_fd_create()
9p: kerneldoc warning fixes
Diffstat (limited to 'net/9p/protocol.c')
-rw-r--r-- | net/9p/protocol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/9p/protocol.c b/net/9p/protocol.c index e9d0f0c1a048..16d287565987 100644 --- a/net/9p/protocol.c +++ b/net/9p/protocol.c | |||
@@ -275,7 +275,7 @@ p9pdu_vreadf(struct p9_fcall *pdu, int proto_version, const char *fmt, | |||
275 | } | 275 | } |
276 | break; | 276 | break; |
277 | case 'R':{ | 277 | case 'R':{ |
278 | int16_t *nwqid = va_arg(ap, int16_t *); | 278 | uint16_t *nwqid = va_arg(ap, uint16_t *); |
279 | struct p9_qid **wqids = | 279 | struct p9_qid **wqids = |
280 | va_arg(ap, struct p9_qid **); | 280 | va_arg(ap, struct p9_qid **); |
281 | 281 | ||
@@ -440,7 +440,7 @@ p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt, | |||
440 | stbuf->n_gid, stbuf->n_muid); | 440 | stbuf->n_gid, stbuf->n_muid); |
441 | } break; | 441 | } break; |
442 | case 'V':{ | 442 | case 'V':{ |
443 | int32_t count = va_arg(ap, int32_t); | 443 | uint32_t count = va_arg(ap, uint32_t); |
444 | struct iov_iter *from = | 444 | struct iov_iter *from = |
445 | va_arg(ap, struct iov_iter *); | 445 | va_arg(ap, struct iov_iter *); |
446 | errcode = p9pdu_writef(pdu, proto_version, "d", | 446 | errcode = p9pdu_writef(pdu, proto_version, "d", |
@@ -471,7 +471,7 @@ p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt, | |||
471 | } | 471 | } |
472 | break; | 472 | break; |
473 | case 'R':{ | 473 | case 'R':{ |
474 | int16_t nwqid = va_arg(ap, int); | 474 | uint16_t nwqid = va_arg(ap, int); |
475 | struct p9_qid *wqids = | 475 | struct p9_qid *wqids = |
476 | va_arg(ap, struct p9_qid *); | 476 | va_arg(ap, struct p9_qid *); |
477 | 477 | ||