diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2017-02-08 10:27:33 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-09 21:53:04 +1100 |
commit | 5b0b7e4d28d586239768e7e3508bf162de17ec1b (patch) | |
tree | af67de02375b122143d243342a1ea0c70b6c8a30 /mm | |
parent | 8c818527aac1ab723f7a34e546477136c0084c12 (diff) |
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 <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/migrate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index c079d4bf6410..2c63ac06791b 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); |