From: Al Viro Date: Sun, 14 Oct 2007 18:34:10 +0000 (+0100) Subject: mm/migrate.c __user annotation X-Git-Tag: v2.6.24-rc1~1319 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9d966d495c4ac2fcbd010f681425f67141f80bad;p=linux-2.6-omap-h63xx.git mm/migrate.c __user annotation Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/mm/migrate.c b/mm/migrate.c index e2fdbce1874..07f22d4a431 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))