diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 7d9320e3f4ae..7b0d7979f901 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -1501,7 +1501,7 @@ int add_memory_subsection(int nid, u64 start, u64 size) if (!IS_ALIGNED(start, SUBSECTION_SIZE) || !IS_ALIGNED(size, SUBSECTION_SIZE)) { - pr_err("%s: start 0x%lx size 0x%lx not aligned to subsection size\n", + pr_err("%s: start 0x%llx size 0x%llx not aligned to subsection size\n", __func__, start, size); return -EINVAL; } @@ -1521,7 +1521,7 @@ int add_memory_subsection(int nid, u64 start, u64 size) if (ret) { if (IS_ENABLED(CONFIG_ARCH_KEEP_MEMBLOCK)) memblock_remove(start, size); - pr_err("%s failed to add subsection start 0x%lx size 0x%lx\n", + pr_err("%s failed to add subsection start 0x%llx size 0x%llx\n", __func__, start, size); } mem_hotplug_done();