mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
Fix lguest misannotation
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>
This commit is contained in:
parent
25cccecce8
commit
6d14bfe77b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue