* [PATCH] arch:powerpc:mm: cleanup __FUNCTION__ usage
@ 2021-07-11 8:45 Dwaipayan Ray
0 siblings, 0 replies; only message in thread
From: Dwaipayan Ray @ 2021-07-11 8:45 UTC (permalink / raw)
To: mpe, benh, paulus
Cc: lukas.bulwahn, linuxppc-dev, linux-kernel, Dwaipayan Ray
__FUNCTION__ exists only for backwards compatibility reasons
with old gcc versions. Replace it with __func__.
Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com>
---
arch/powerpc/mm/numa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index f2bf98bdcea2..3d3f570c925c 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -1236,7 +1236,7 @@ int find_and_online_cpu_nid(int cpu)
#endif
}
- pr_debug("%s:%d cpu %d nid %d\n", __FUNCTION__, __LINE__,
+ pr_debug("%s:%d cpu %d nid %d\n", __func__, __LINE__,
cpu, new_nid);
return new_nid;
}
--
2.28.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-11 12:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-11 8:45 [PATCH] arch:powerpc:mm: cleanup __FUNCTION__ usage Dwaipayan Ray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).