From 5b0b7e4d28d586239768e7e3508bf162de17ec1b Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 8 Feb 2017 10:27:33 +1100 Subject: [PATCH] mm-convert-remove_migration_pte-to-use-page_vma_mapped_walk-checkpatch-fixes WARNING: line over 80 characters #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 Signed-off-by: Andrew Morton --- mm/migrate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mm/migrate.c b/mm/migrate.c index c079d4bf641074..2c63ac06791bbd 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -216,7 +216,9 @@ static int remove_migration_pte(struct page *page, struct vm_area_struct *vma, if (pte_swp_soft_dirty(*pvmw.pte)) pte = pte_mksoft_dirty(pte); - /* Recheck VMA as permissions can change since migration started */ + /* + * Recheck VMA as permissions can change since migration started + */ entry = pte_to_swp_entry(*pvmw.pte); if (is_write_migration_entry(entry)) pte = maybe_mkwrite(pte, vma);