[PATCH 11/14] smp: Use %pF printk format specifier for function pointers

From: Helge Deller
Date: Wed Sep 06 2017 - 16:30:49 EST


Use the %pF instead of the %pS printk format specifier for printing function
pointers. This is needed for the ia64, ppc64 and parisc64 architectures.

Signed-off-by: Helge Deller <deller@xxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
kernel/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/smp.c b/kernel/smp.c
index 81cfca9..238e9ec 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -230,7 +230,7 @@ static void flush_smp_call_function_queue(bool warn_cpu_offline)
* because we are not invoking the IPI handlers yet.
*/
llist_for_each_entry(csd, entry, llist)
- pr_warn("IPI callback %pS sent to offline CPU\n",
+ pr_warn("IPI callback %pF sent to offline CPU\n",
csd->func);
}

--
2.1.0