Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0b6e53

Browse files
akpm00sfrothwell
authored andcommitted
mm-madvise-introduce-madv_populate_readwrite-to-prefault-page-tables-checkpatch-fixes
WARNING: please, no space before tabs torvalds#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 torvalds#507: FILE: mm/gup.c:1514: +^I * ^I difference with !FOLL_FORCE, because the page is writable$ WARNING: please, no space before tabs torvalds#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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Stephen Rothwell <[email protected]>
1 parent a5f0f8e commit b0b6e53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mm/gup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,9 +1538,9 @@ long faultin_vma_page_range(struct vm_area_struct *vma, unsigned long start,
15381538

15391539
/*
15401540
* FOLL_TOUCH: Mark page accessed and thereby young; will also mark
1541-
* the page dirty with FOLL_WRITE -- which doesn't make a
1542-
* difference with !FOLL_FORCE, because the page is writable
1543-
* in the page table.
1541+
* the page dirty with FOLL_WRITE -- which doesn't make a
1542+
* difference with !FOLL_FORCE, because the page is writable
1543+
* in the page table.
15441544
* FOLL_HWPOISON: Return -EHWPOISON instead of -EFAULT when we hit
15451545
* a poisoned page.
15461546
* FOLL_POPULATE: Always populate memory with VM_LOCKONFAULT.

0 commit comments

Comments
 (0)