From: Andrew Morton Date: Wed, 2 Jun 2021 03:52:59 +0000 (+1000) Subject: mm-madvise-introduce-madv_populate_readwrite-to-prefault-page-tables-checkpatch-fixes X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=507547089f2ebe79e74d65b510677d34c10f8101;p=users%2Fjedix%2Flinux-maple.git mm-madvise-introduce-madv_populate_readwrite-to-prefault-page-tables-checkpatch-fixes WARNING: please, no space before tabs #506: FILE: mm/gup.c:1513: +^I * ^I the page dirty with FOLL_WRITE -- which doesn't make a$ WARNING: please, no space before tabs #507: FILE: mm/gup.c:1514: +^I * ^I difference with !FOLL_FORCE, because the page is writable$ WARNING: please, no space before tabs #508: FILE: mm/gup.c:1515: +^I * ^I in the page table.$ total: 0 errors, 3 warnings, 214 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/mm-madvise-introduce-madv_populate_readwrite-to-prefault-page-tables.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: David Hildenbrand Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- diff --git a/mm/gup.c b/mm/gup.c index 743bae66da382..c3087b3210aea 100644 --- a/mm/gup.c +++ b/mm/gup.c @@ -1510,9 +1510,9 @@ long faultin_vma_page_range(struct vm_area_struct *vma, unsigned long start, /* * FOLL_TOUCH: Mark page accessed and thereby young; will also mark - * the page dirty with FOLL_WRITE -- which doesn't make a - * difference with !FOLL_FORCE, because the page is writable - * in the page table. + * the page dirty with FOLL_WRITE -- which doesn't make a + * difference with !FOLL_FORCE, because the page is writable + * in the page table. * FOLL_HWPOISON: Return -EHWPOISON instead of -EFAULT when we hit * a poisoned page. * FOLL_POPULATE: Always populate memory with VM_LOCKONFAULT.