Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759385AbXJNSeT (ORCPT ); Sun, 14 Oct 2007 14:34:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753698AbXJNSeL (ORCPT ); Sun, 14 Oct 2007 14:34:11 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:47901 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753041AbXJNSeL (ORCPT ); Sun, 14 Oct 2007 14:34:11 -0400 To: torvalds@linux-foundation.org Subject: [PATCH] mm/migrate.c __user annotation Cc: linux-kernel@vger.kernel.org Message-Id: From: Al Viro Date: Sun, 14 Oct 2007 19:34:10 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 786 Lines: 28 Signed-off-by: Al Viro --- mm/migrate.c | 2 +- 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)) -- 1.5.3.GIT - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/