Skip to content

Commit

Permalink
mem-hotplug-fix-boot-failed-in-case-all-the-nodes-are-hotpluggable-ch…
Browse files Browse the repository at this point in the history
…eckpatch-fixes

WARNING: Missing a blank line after declarations
torvalds#65: FILE: arch/x86/mm/numa.c:480:
+		struct numa_memblk *mb = &numa_meminfo.blk[i];
+		memblock_set_node(mb->start, mb->end - mb->start,

total: 0 errors, 1 warnings, 112 lines checked

./patches/mem-hotplug-fix-boot-failed-in-case-all-the-nodes-are-hotpluggable.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: Xishi Qiu <qiuxishi@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and sfrothwell committed Oct 7, 2014
1 parent b64916c commit d4a7ca9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ static void __init numa_clear_kernel_node_hotplug(void)
*/
for (i = 0; i < numa_meminfo.nr_blks; i++) {
struct numa_memblk *mb = &numa_meminfo.blk[i];

memblock_set_node(mb->start, mb->end - mb->start,
&memblock.reserved, mb->nid);
}
Expand Down

0 comments on commit d4a7ca9

Please sign in to comment.