]> err.no Git - linux-2.6/commitdiff
Fix lguest misannotation
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 20 Jul 2007 15:10:24 +0000 (16:10 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 20 Jul 2007 15:24:49 +0000 (08:24 -0700)
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>
drivers/lguest/io.c

index 06bdba2337ef4ba634fe325673fc3f833c765384..c8eb79266991efb68d34e077de859295e8f8edcb 100644 (file)
@@ -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;