Re: [PATCH v4 4/4] drivers/base : Rename register_memory_blocks_under_node() and remove context argument

From: David Hildenbrand
Date: Fri May 16 2025 - 05:19:15 EST


On 16.05.25 10:19, Donet Tom wrote:
The function register_memory_blocks_under_node() is now only called from
the memory hotplug path, as register_memory_blocks_under_node_early()
handles registration during early boot. Therefore, the context argument
used to differentiate between early boot and hotplug is no longer needed
and was removed.

Since the function is only called from the hotplug path, we renamed
register_memory_blocks_under_node() to
register_memory_blocks_under_node_hotplug()

Acked-by: Zi Yan <ziy@xxxxxxxxxx>
Signed-off-by: Donet Tom <donettom@xxxxxxxxxxxxx>

---


Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers,

David / dhildenb