projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/lguest/io.c
b/drivers/lguest/io.c
index 06bdba2337ef4ba634fe325673fc3f833c765384..c8eb79266991efb68d34e077de859295e8f8edcb 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;