projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
411223c
)
mm/migrate.c __user annotation
author
Al Viro
<viro@ftp.linux.org.uk>
Sun, 14 Oct 2007 18:34:10 +0000
(19:34 +0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 19:41:51 +0000
(12:41 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/migrate.c
patch
|
blob
|
history
diff --git
a/mm/migrate.c
b/mm/migrate.c
index
e2fdbce
..
07f22d4
100644
(file)
--- a/
mm/migrate.c
+++ b/
mm/migrate.c
@@
-972,7
+972,7
@@
asmlinkage long sys_move_pages(pid_t pid, unsigned long nr_pages,
* array. Return various errors if the user did something wrong.
*/
for (i = 0; i < nr_pages; i++) {
- const void *p;
+ const void
__user
*p;
err = -EFAULT;
if (get_user(p, pages + i))