diff options
Diffstat (limited to 'net/9p')
-rw-r--r-- | net/9p/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index a170893d70e0..8260f132b32e 100644 --- a/net/9p/client.c +++ b/net/9p/client.c | |||
@@ -1548,7 +1548,7 @@ p9_client_read(struct p9_fid *fid, char *data, char __user *udata, u64 offset, | |||
1548 | kernel_buf = 1; | 1548 | kernel_buf = 1; |
1549 | indata = data; | 1549 | indata = data; |
1550 | } else | 1550 | } else |
1551 | indata = (char *)udata; | 1551 | indata = (__force char *)udata; |
1552 | /* | 1552 | /* |
1553 | * response header len is 11 | 1553 | * response header len is 11 |
1554 | * PDU Header(7) + IO Size (4) | 1554 | * PDU Header(7) + IO Size (4) |