From: Al Viro Date: Sat, 29 Mar 2008 03:08:28 +0000 (+0000) Subject: misc __user misannotations (pointless casts to long) X-Git-Tag: v2.6.25-rc8~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74dbf719ed3c49687dab507967ebab9189e91ab0;p=platform%2Fkernel%2Flinux-3.10.git misc __user misannotations (pointless casts to long) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/lguest/lguest_user.c b/drivers/lguest/lguest_user.c index 564e425..645e6e0 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] */