summaryrefslogtreecommitdiffstats
path: root/drivers/lguest/lguest_user.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-03-29 04:08:28 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-30 23:20:23 +0200
commit74dbf719ed3c49687dab507967ebab9189e91ab0 (patch)
tree01001802b94aa437a5891879fc09e30717a0c407 /drivers/lguest/lguest_user.c
parentioat_dca __iomem annotations (diff)
downloadlinux-74dbf719ed3c49687dab507967ebab9189e91ab0.tar.xz
linux-74dbf719ed3c49687dab507967ebab9189e91ab0.zip
misc __user misannotations (pointless casts to long)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/lguest/lguest_user.c')
-rw-r--r--drivers/lguest/lguest_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/lguest_user.c b/drivers/lguest/lguest_user.c
index 564e425d71dd..645e6e040bfb 100644
--- a/drivers/lguest/lguest_user.c
+++ b/drivers/lguest/lguest_user.c
@@ -189,7 +189,7 @@ static int initialize(struct file *file, const unsigned long __user *input)
}
/* Populate the easy fields of our "struct lguest" */
- lg->mem_base = (void __user *)(long)args[0];
+ lg->mem_base = (void __user *)args[0];
lg->pfn_limit = args[1];
/* This is the first cpu (cpu 0) and it will start booting at args[3] */