Skip to content

Commit 0a5344f

Browse files
akpm00hnaz
authored andcommitted
memhp-add-hot-added-memory-ranges-to-memblock-before-allocate-node_data-for-a-node-checkpatch-fixes
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) torvalds#16: |--> memblock_add_node(start, size, nid) -------- Here, just too late. WARNING: line over 80 characters torvalds#54: FILE: mm/memory_hotplug.c:1252: + * Add new range to memblock so that when hotadd_new_pgdat() is called to WARNING: line over 80 characters torvalds#56: FILE: mm/memory_hotplug.c:1254: + * new range and calculate total pages correctly. The range will be remove total: 0 errors, 3 warnings, 28 lines checked ./patches/memhp-add-hot-added-memory-ranges-to-memblock-before-allocate-node_data-for-a-node.patch has style problems, please review. NOTE: If any of the 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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 9afdc42 commit 0a5344f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mm/memory_hotplug.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,10 +1249,10 @@ int __ref add_memory(int nid, u64 start, u64 size)
12491249
mem_hotplug_begin();
12501250

12511251
/*
1252-
* Add new range to memblock so that when hotadd_new_pgdat() is called to
1253-
* allocate new pgdat, get_pfn_range_for_nid() will be able to find this
1254-
* new range and calculate total pages correctly. The range will be remove
1255-
* at hot-remove time.
1252+
* Add new range to memblock so that when hotadd_new_pgdat() is called
1253+
* to allocate new pgdat, get_pfn_range_for_nid() will be able to find
1254+
* this new range and calculate total pages correctly. The range will
1255+
* be removed at hot-remove time.
12561256
*/
12571257
memblock_add_node(start, size, nid);
12581258

0 commit comments

Comments
 (0)