Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

Commit 3bac03f

Browse files
akpm00sfrothwell
authored andcommitted
hugetlb-fix-copy_hugetlb_page_range-to-handle-migration-hwpoisoned-entry-checkpatch-fixes
WARNING: Missing a blank line after declarations torvalds#65: FILE: mm/hugetlb.c:2593: + swp_entry_t swp_entry = pte_to_swp_entry(entry); + if (is_write_migration_entry(swp_entry) && cow) { total: 0 errors, 1 warnings, 90 lines checked ./patches/hugetlb-fix-copy_hugetlb_page_range-to-handle-migration-hwpoisoned-entry.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent f1c5b04 commit 3bac03f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mm/hugetlb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2590,6 +2590,7 @@ int copy_hugetlb_page_range(struct mm_struct *dst, struct mm_struct *src,
25902590
} else if (unlikely(is_hugetlb_entry_migration(entry) ||
25912591
is_hugetlb_entry_hwpoisoned(entry))) {
25922592
swp_entry_t swp_entry = pte_to_swp_entry(entry);
2593+
25932594
if (is_write_migration_entry(swp_entry) && cow) {
25942595
/*
25952596
* COW mappings require pages in both

0 commit comments

Comments
 (0)