Skip to content

Commit

Permalink
Fix lguest misannotation
Browse files Browse the repository at this point in the history
	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>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jul 20, 2007
1 parent 25cccec commit 6d14bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/lguest/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static u32 copy_data(struct lguest *srclg,
/* FIXME: This is not completely portable, since
archs do different things for copy_to_user_page. */
if (copy_from_user(maddr + (dst->addr[di] + dstoff)%PAGE_SIZE,
(void *__user)src->addr[si], len) != 0) {
(void __user *)src->addr[si], len) != 0) {
kill_guest(srclg, "bad address in sending DMA");
totlen = 0;
break;
Expand Down

0 comments on commit 6d14bfe

Please sign in to comment.