diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-19 13:37:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-19 13:38:06 (GMT) |
commit | 03068ff131c0a565e2cb26303a0df63467136723 (patch) | |
tree | 23fd6cc7d3f21bda56f24d44f6de51fdfbe8dbb9 /net/9p/protocol.c | |
parent | 32235b07b52e948900613e27c5cbd955d084ae8a (diff) | |
parent | f0e615c3cb72b42191b558c130409335812621d8 (diff) | |
download | linux-fsl-qoriq-03068ff131c0a565e2cb26303a0df63467136723.tar.xz |
Staging: merge 2.6.39-rc4 into staging-next
This handles the removal of the samsung-laptop driver and other
minor merge issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/9p/protocol.c')
-rw-r--r-- | net/9p/protocol.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/9p/protocol.c b/net/9p/protocol.c index 8a4084f..b58a501 100644 --- a/net/9p/protocol.c +++ b/net/9p/protocol.c @@ -265,7 +265,7 @@ p9pdu_vreadf(struct p9_fcall *pdu, int proto_version, const char *fmt, } break; case 'T':{ - int16_t *nwname = va_arg(ap, int16_t *); + uint16_t *nwname = va_arg(ap, uint16_t *); char ***wnames = va_arg(ap, char ***); errcode = p9pdu_readf(pdu, proto_version, @@ -468,7 +468,8 @@ p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt, case 'E':{ int32_t cnt = va_arg(ap, int32_t); const char *k = va_arg(ap, const void *); - const char *u = va_arg(ap, const void *); + const char __user *u = va_arg(ap, + const void __user *); errcode = p9pdu_writef(pdu, proto_version, "d", cnt); if (!errcode && pdu_write_urw(pdu, k, u, cnt)) @@ -495,7 +496,7 @@ p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt, } break; case 'T':{ - int16_t nwname = va_arg(ap, int); + uint16_t nwname = va_arg(ap, int); const char **wnames = va_arg(ap, const char **); errcode = p9pdu_writef(pdu, proto_version, "w", |