Skip to content

Commit 69c9c4f

Browse files
akpm00hnaz
authored andcommitted
mm-convert-remove_migration_pte-to-use-page_vma_mapped_walk-checkpatch-fixes
WARNING: line over 80 characters torvalds#98: FILE: mm/migrate.c:222: + /* Recheck VMA as permissions can change since migration started */ total: 0 errors, 1 warnings, 127 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-convert-remove_migration_pte-to-use-page_vma_mapped_walk.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: Kirill A. Shutemov <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent edef009 commit 69c9c4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mm/migrate.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ static int remove_migration_pte(struct page *page, struct vm_area_struct *vma,
216216
if (pte_swp_soft_dirty(*pvmw.pte))
217217
pte = pte_mksoft_dirty(pte);
218218

219-
/* Recheck VMA as permissions can change since migration started */
219+
/*
220+
* Recheck VMA as permissions can change since migration started
221+
*/
220222
entry = pte_to_swp_entry(*pvmw.pte);
221223
if (is_write_migration_entry(entry))
222224
pte = maybe_mkwrite(pte, vma);

0 commit comments

Comments
 (0)