diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-20 11:10:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-20 11:24:49 -0400 |
commit | 6d14bfe77b8246a45670b7158d3a49bfe55662c7 (patch) | |
tree | 582782292e590d156a1f126b8b8bf6e0b6341b90 /drivers | |
parent | 25cccecce8e29f92eb5a0445bc97ee01ef2da379 (diff) |
Fix lguest misannotation
It's void __user *, not void * __user...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/lguest/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/io.c b/drivers/lguest/io.c index 06bdba2337ef..c8eb79266991 100644 --- a/drivers/lguest/io.c +++ b/drivers/lguest/io.c | |||
@@ -187,7 +187,7 @@ static u32 copy_data(struct lguest *srclg, | |||
187 | /* FIXME: This is not completely portable, since | 187 | /* FIXME: This is not completely portable, since |
188 | archs do different things for copy_to_user_page. */ | 188 | archs do different things for copy_to_user_page. */ |
189 | if (copy_from_user(maddr + (dst->addr[di] + dstoff)%PAGE_SIZE, | 189 | if (copy_from_user(maddr + (dst->addr[di] + dstoff)%PAGE_SIZE, |
190 | (void *__user)src->addr[si], len) != 0) { | 190 | (void __user *)src->addr[si], len) != 0) { |
191 | kill_guest(srclg, "bad address in sending DMA"); | 191 | kill_guest(srclg, "bad address in sending DMA"); |
192 | totlen = 0; | 192 | totlen = 0; |
193 | break; | 193 | break; |