* [PATCH] lguest misannotation
@ 2007-07-20 15:10 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2007-07-20 15:10 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, rusty
It's void __user *, not void * __user...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
diff --git a/drivers/lguest/io.c b/drivers/lguest/io.c
index 06bdba2..c8eb792 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;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-20 15:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-20 15:10 [PATCH] lguest misannotation Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox