Skip to content

Commit a090d71

Browse files
Anshuman Khandualtorvalds
authored andcommitted
memblock: Use __func__ in remaining memblock_dbg() call sites
Replace open function name strings with %s (__func__) in all remaining memblock_dbg() call sites. Link: http://lkml.kernel.org/r/1578285510-28261-1-git-send-email-anshuman.khandual@arm.com Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 02634a4 commit a090d71

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎mm/memblock.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ int __init_memblock memblock_add(phys_addr_t base, phys_addr_t size)
694694
{
695695
phys_addr_t end = base + size - 1;
696696

697-
memblock_dbg("memblock_add: [%pa-%pa] %pS\n",
697+
memblock_dbg("%s: [%pa-%pa] %pS\n", __func__,
698698
&base, &end, (void *)_RET_IP_);
699699

700700
return memblock_add_range(&memblock.memory, base, size, MAX_NUMNODES, 0);
@@ -795,7 +795,7 @@ int __init_memblock memblock_remove(phys_addr_t base, phys_addr_t size)
795795
{
796796
phys_addr_t end = base + size - 1;
797797

798-
memblock_dbg("memblock_remove: [%pa-%pa] %pS\n",
798+
memblock_dbg("%s: [%pa-%pa] %pS\n", __func__,
799799
&base, &end, (void *)_RET_IP_);
800800

801801
return memblock_remove_range(&memblock.memory, base, size);
@@ -813,7 +813,7 @@ int __init_memblock memblock_free(phys_addr_t base, phys_addr_t size)
813813
{
814814
phys_addr_t end = base + size - 1;
815815

816-
memblock_dbg(" memblock_free: [%pa-%pa] %pS\n",
816+
memblock_dbg("%s: [%pa-%pa] %pS\n", __func__,
817817
&base, &end, (void *)_RET_IP_);
818818

819819
kmemleak_free_part_phys(base, size);
@@ -824,7 +824,7 @@ int __init_memblock memblock_reserve(phys_addr_t base, phys_addr_t size)
824824
{
825825
phys_addr_t end = base + size - 1;
826826

827-
memblock_dbg("memblock_reserve: [%pa-%pa] %pS\n",
827+
memblock_dbg("%s: [%pa-%pa] %pS\n", __func__,
828828
&base, &end, (void *)_RET_IP_);
829829

830830
return memblock_add_range(&memblock.reserved, base, size, MAX_NUMNODES, 0);

0 commit comments

Comments
 (0)