diff options
-rw-r--r-- | mm/migrate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index d8f07667fc80..037b0967c1e3 100644 --- a/mm/migrate.c +++ b/mm/migrate.c | |||
@@ -998,7 +998,7 @@ static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, | |||
998 | unsigned long addr = (unsigned long)(*pages); | 998 | unsigned long addr = (unsigned long)(*pages); |
999 | struct vm_area_struct *vma; | 999 | struct vm_area_struct *vma; |
1000 | struct page *page; | 1000 | struct page *page; |
1001 | int err; | 1001 | int err = -EFAULT; |
1002 | 1002 | ||
1003 | vma = find_vma(mm, addr); | 1003 | vma = find_vma(mm, addr); |
1004 | if (!vma) | 1004 | if (!vma) |