From: Al Viro Date: Fri, 20 Jul 2007 15:10:24 +0000 (+0100) Subject: Fix lguest misannotation X-Git-Tag: v2.6.23-rc1~234 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d14bfe77b8246a45670b7158d3a49bfe55662c7;p=linux-2.6 Fix lguest misannotation It's void __user *, not void * __user... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/lguest/io.c b/drivers/lguest/io.c index 06bdba2337..c8eb792669 100644 --- a/drivers/lguest/io.c +++ b/drivers/lguest/io.c @@ -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;