Skip to content

Commit a65d856

Browse files
akpm00sfrothwell
authored andcommitted
mem-hotplug-fix-boot-failed-in-case-all-the-nodes-are-hotpluggable-checkpatch-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>
1 parent 9bb8dd9 commit a65d856

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/mm/numa.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ static void __init numa_clear_kernel_node_hotplug(void)
477477
*/
478478
for (i = 0; i < numa_meminfo.nr_blks; i++) {
479479
struct numa_memblk *mb = &numa_meminfo.blk[i];
480+
480481
memblock_set_node(mb->start, mb->end - mb->start,
481482
&memblock.reserved, mb->nid);
482483
}

0 commit comments

Comments
 (0)