Skip to content

Commit c063b2c

Browse files
akpm00sfrothwell
authored andcommitted
mm-prevent-gup_fast-from-racing-with-cow-during-fork-checkpatch-fixes
WARNING: Unknown commit id '70e806e4e645', maybe rebased or not pulled? #4: Since commit 70e806e ("mm: Do early cow for pinned pages during WARNING: Unknown commit id 'f3c64eda3e50', maybe rebased or not pulled? torvalds#34: problems (and was missing a barrrier), see commit f3c64ed ("mm: avoid WARNING: Unknown commit id 'f3c64eda3e50', maybe rebased or not pulled? torvalds#46: Fixes: f3c64ed ("mm: avoid early COW write protect games during fork()") WARNING: Prefer 'unsigned int' to bare use of 'unsigned' torvalds#136: FILE: mm/gup.c:2687: + unsigned seq; WARNING: Block comments should align the * on each line torvalds#191: FILE: mm/memory.c:1180: + * lockdep complaining about preemptibility. + */ total: 0 errors, 5 warnings, 109 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-prevent-gup_fast-from-racing-with-cow-during-fork.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: Jason Gunthorpe <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Stephen Rothwell <[email protected]>
1 parent 6be6fcf commit c063b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma)
11771177
*
11781178
* Use the raw variant of the seqcount_t write API to avoid
11791179
* lockdep complaining about preemptibility.
1180-
*/
1180+
*/
11811181
mmap_assert_write_locked(src_mm);
11821182
raw_write_seqcount_begin(&src_mm->write_protect_seq);
11831183
}

0 commit comments

Comments
 (0)