Skip to contentSkip to conversation

memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed-checkpatch-fixes.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Jan 21, 2014 memblock and memory management initialization

lore
Share & tools
lore
#0 lore raw

Subject: [folded-merged] memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed-checkpatch-fixes.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 21 Jan 2014 15:32:21 -0800

The patch titled
Subject: memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed-checkpatch-fixes
has been removed from the -mm tree. Its filename was
memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed-checkpatch-fixes.patch

This patch was dropped because it was folded into memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed.patch

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed-checkpatch-fixes

Cc "H. Peter Anvin" <[email protected]>

WARNING: line over 80 characters
#83: FILE: include/linux/memblock.h:83:
+static inline bool memblock_is_hotpluggable(struct memblock_region *m){ return false; }

ERROR: space required before the open brace '{'
#83: FILE: include/linux/memblock.h:83:
+static inline bool memblock_is_hotpluggable(struct memblock_region *m){ return false; }

total: 1 errors, 1 warnings, 67 lines checked

./patches/memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed.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 Tang Chen <[email protected]>
Cc Zhang Yanfei <[email protected]>

---

 include/linux/memblock.h |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
include/linux/memblock.h renamed from include/linux/memblock.h~memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed-checkpatch-fixes +8 -2
diff -puN include/linux/memblock.h~memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed-checkpatch-fixes include/linux/memblock.h
@@ -80,8 +80,14 @@ static inline bool movable_node_is_enabl
 	return movable_node_enabled;
 }
 #else
-static inline bool memblock_is_hotpluggable(struct memblock_region *m){ return false; }
-static inline bool movable_node_is_enabled(void) { return false; }
+static inline bool memblock_is_hotpluggable(struct memblock_region *m)
+{
+	return false;
+}
+static inline bool movable_node_is_enabled(void)
+{
+	return false;
+}
 #endif
 
 #ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP

_

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

origin.patch
posix_acl-uninlining.patch mm-hugetlbfs-move-the-put-get_page-slab-and-hugetlbfs-optimization-in-a-faster-path.patch mm-hugetlbc-simplify-pageheadhuge-and-pagehuge.patch mm-swapc-reorganize-put_compound_page.patch mm-get-rid-of-unnecessary-pageblock-scanning-in-setup_zone_migrate_reserve.patch mm-memory-failure-fix-the-typo-in-me_pagecache_dirty.patch mm-show_mem-remove-show_mem_filter_page_count.patch mm-add-overcommit_kbytes-sysctl-variable.patch memblock-mem_hotplug-introduce-memblock_hotplug-flag-to-mark-hotpluggable-regions.patch acpi-numa-mem_hotplug-mark-hotpluggable-memory-in-memblock.patch memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed.patch mm-memblock-add-memblock-memory-allocation-apis-fix.patch sched-add-tracepoints-related-to-numa-task-migration-fix.patch mm-page_alloc-warn-for-non-blockable-__gfp_nofail-allocation-failure.patch