]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/memory_hotplug.c
mm: memory_hotplug: fix format string in warnings
authorRick Wertenbroek <rick.wertenbroek@gmail.com>
Wed, 10 May 2023 09:07:57 +0000 (11:07 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Jun 2023 23:25:18 +0000 (16:25 -0700)
commit501350459b1fe7a0da6d089484fa112ff48f5252
tree7cd5784fdfd0492e107fe0f66ac8f7f2038f8986
parentc963901197188189e85b4d768a059fe1bbc2a502
mm: memory_hotplug: fix format string in warnings

The format string in __add_pages and __remove_pages has a typo and prints
e.g., "Misaligned __add_pages start: 0xfc605 end: #fc609" instead of
"Misaligned __add_pages start: 0xfc605 end: 0xfc609" Fix "#%lx" => "%#lx"

Link: https://lkml.kernel.org/r/20230510090758.3537242-1-rick.wertenbroek@gmail.com
Signed-off-by: Rick Wertenbroek <rick.wertenbroek@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory_hotplug.c