summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 19:34:10 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 12:41:51 -0700
commit9d966d495c4ac2fcbd010f681425f67141f80bad (patch)
tree4df188540aa724b85fff6477e5315fd9ca984061 /mm/migrate.c
parent411223c01a51163e995dbc2679bf8e963a136a5f (diff)
downloadop-kernel-dev-9d966d495c4ac2fcbd010f681425f67141f80bad.zip
op-kernel-dev-9d966d495c4ac2fcbd010f681425f67141f80bad.tar.gz
mm/migrate.c __user annotation
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
-rw-r--r--mm/migrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index e2fdbce..07f22d4 100644
--- 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))
OpenPOWER on IntegriCloud