lkml.org 
[lkml]   [2017]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 11/14] smp: Use %pF printk format specifier for function pointers
Date
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@gmx.de>
Cc: Ingo Molnar <mingo@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
\
 
 \ /
  Last update: 2017-09-06 22:31    [W:0.265 / U:11.088 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site