projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53a0c98
)
misc __user misannotations (pointless casts to long)
author
Al Viro
<viro@ftp.linux.org.uk>
Sat, 29 Mar 2008 03:08:28 +0000
(
03:08
+0000)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 30 Mar 2008 21:20:23 +0000
(14:20 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/lguest/lguest_user.c
patch
|
blob
|
history
diff --git
a/drivers/lguest/lguest_user.c
b/drivers/lguest/lguest_user.c
index
564e425
..
645e6e0
100644
(file)
--- 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] */