From 5863d07063025235e6fe994e05fce059434a3353 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 26 Sep 2014 00:03:12 +0000 Subject: [PATCH] mem-hotplug-fix-boot-failed-in-case-all-the-nodes-are-hotpluggable-checkpatch-fixes WARNING: Missing a blank line after declarations #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 Signed-off-by: Andrew Morton --- arch/x86/mm/numa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index e66995458424df..1a883705a12a8a 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c @@ -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); }