OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25cccec
)
Fix lguest misannotation
author
Al Viro
<viro@ftp.linux.org.uk>
Fri, 20 Jul 2007 15:10:24 +0000
(16:10 +0100)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/drivers/lguest/io.c
b/drivers/lguest/io.c
index
06bdba2
..
c8eb792
100644
(file)
--- 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;