Skip to contentSkip to conversation

mm-thp-give-transparent-hugepage-code-a-separate-copy_page-checkpatch-fixes.patch removed from -mm tree

to-be-updated [email protected] 1 participant 1 message Nov 19, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [to-be-updated] mm-thp-give-transparent-hugepage-code-a-separate-copy_page-checkpatch-fixes.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 18 Nov 2013 16:06:22 -0800

The patch titled
Subject: mm-thp-give-transparent-hugepage-code-a-separate-copy_page-checkpatch-fixes
has been removed from the -mm tree. Its filename was
mm-thp-give-transparent-hugepage-code-a-separate-copy_page-checkpatch-fixes.patch

This patch was dropped because an updated version will be merged

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: mm-thp-give-transparent-hugepage-code-a-separate-copy_page-checkpatch-fixes

ERROR: code indent should use tabs where possible
#116: FILE: mm/migrate.c:452:
+ ^I^Icopy_huge_page(newpage, page);$

WARNING: please, no space before tabs
#116: FILE: mm/migrate.c:452:
+ ^I^Icopy_huge_page(newpage, page);$

WARNING: please, no spaces at the start of a line
#116: FILE: mm/migrate.c:452:
+ ^I^Icopy_huge_page(newpage, page);$

ERROR: space required before the open parenthesis '(' #117: FILE: mm/migrate.c:453:
+ else if(PageTransHuge(page))

total: 2 errors, 2 warnings, 55 lines checked

NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or
scripts/cleanfile

./patches/mm-thp-give-transparent-hugepage-code-a-separate-copy_page.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

---

 mm/migrate.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mm/migrate.c renamed from mm/migrate.c~mm-thp-give-transparent-hugepage-code-a-separate-copy_page-checkpatch-fixes +2 -2
diff -puN mm/migrate.c~mm-thp-give-transparent-hugepage-code-a-separate-copy_page-checkpatch-fixes mm/migrate.c
@@ -449,8 +449,8 @@ void migrate_page_copy(struct page *newp
 	int cpupid;
 
 	if (PageHuge(page))
- 		copy_huge_page(newpage, page);
-	else if(PageTransHuge(page))
+		copy_huge_page(newpage, page);
+	else if (PageTransHuge(page))
 		copy_high_order_page(newpage, page, HPAGE_PMD_ORDER);
 	else
 		copy_highpage(newpage, page);

_

Patches currently in -mm which might be from [email protected] are

origin.patch
arch-alpha-kernel-systblss-remove-debug-check.patch i-need-old-gcc.patch kernel-time-tick-commonc-document-tick_do_timer_cpu.patch drivers-block-ccissc-cciss_init_one-use-proper-errnos.patch block-blk-mq-cpuc-use-hotcpu_notifier.patch
posix_acl-uninlining.patch
mm.patch kernel-paramsc-improve-standard-definitions-checkpatch-fixes.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-checkpatch-fixes.patch linux-next.patch
debugging-keep-track-of-page-owners.patch journal_add_journal_head-debug.patch kernel-forkc-export-kernel_thread-to-modules.patch mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
put_bh-debug.patch