The patch titled Subject: mm-memory_hotplug-release-memory-resource-after-arch_remove_memory-fix has been added to the -mm tree. Its filename is mm-memory_hotplug-release-memory-resource-after-arch_remove_memory-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-memory_hotplug-release-memory-resource-after-arch_remove_memory-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-memory_hotplug-release-memory-resource-after-arch_remove_memory-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: David Hildenbrand <david@xxxxxxxxxx> Subject: mm-memory_hotplug-release-memory-resource-after-arch_remove_memory-fix pr_warn with "%pa" expects a pointer to phys_addr_t or resource_size_t. So let's propery use resource_size_t for the start address and size, we are dealing with resources after all. Link: http://lkml.kernel.org/r/20190417120204.6997-1-david@xxxxxxxxxx Signed-off-by: David Hildenbrand <david@xxxxxxxxxx> Reviewed-by: Oscar Salvador <osalvador@xxxxxxx> Cc: Oscar Salvador <osalvador@xxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx> Cc: Wei Yang <richard.weiyang@xxxxxxxxx> Cc: Qian Cai <cai@xxxxxx> Cc: Arun KS <arunks@xxxxxxxxxxxxxx> Cc: Mathieu Malaterre <malat@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memory_hotplug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/mm/memory_hotplug.c~mm-memory_hotplug-release-memory-resource-after-arch_remove_memory-fix +++ a/mm/memory_hotplug.c @@ -1804,7 +1804,8 @@ void try_offline_node(int nid) } EXPORT_SYMBOL(try_offline_node); -static void __release_memory_resource(u64 start, u64 size) +static void __release_memory_resource(resource_size_t start, + resource_size_t size) { int ret; _ Patches currently in -mm which might be from david@xxxxxxxxxx are mm-memory_hotplug-drop-memory-device-reference-after-find_memory_block.patch mm-balloon-drop-unused-function-stubs.patch mm-memory_hotplug-release-memory-resource-after-arch_remove_memory.patch mm-memory_hotplug-release-memory-resource-after-arch_remove_memory-fix.patch mm-memory_hotplug-make-unregister_memory_section-never-fail.patch mm-memory_hotplug-make-__remove_section-never-fail.patch mm-memory_hotplug-make-__remove_pages-and-arch_remove_memory-never-fail.patch