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 <del...@gmx.de>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: linux-kernel@vger.kernel.org
---
 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

Reply via email to