]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
memblock-mem_hotplug-make-memblock-skip-hotpluggable-regions-if-needed-checkpatch...
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 16 Dec 2013 23:45:10 +0000 (10:45 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 16 Dec 2013 23:45:10 +0000 (10:45 +1100)
Cc: "H. Peter Anvin" <hpa@zytor.com>
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 <tangchen@cn.fujitsu.com>
Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memblock.h

index bfc1dbad0414a11730459aa69bcbadd6725718d2..2f52c8c492bdce8677dd7bf19468f514ac8faaff 100644 (file)
@@ -80,8 +80,14 @@ static inline bool movable_node_is_enabled(void)
        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