On Tue, Sep 12, 2017 at 2:10 PM, Petr Mladek <pmla...@suse.com> wrote: > On Wed 2017-09-06 22:27:49, Helge Deller wrote: >> Use the %pS printk format for printing symbols from direct addresses. >> In usermode-linux there is actually no difference between %pS and %pF, but >> for >> consistency throughout the kernel fix the wrong usage here too. >> >> Signed-off-by: Helge Deller <del...@gmx.de> >> Cc: Jeff Dike <jd...@addtoit.com> >> Cc: Richard Weinberger <rich...@nod.at> >> Cc: user-mode-linux-devel@lists.sourceforge.net >> --- >> arch/um/kernel/sysrq.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c >> index 6b995e8..05585ee 100644 >> --- a/arch/um/kernel/sysrq.c >> +++ b/arch/um/kernel/sysrq.c >> @@ -20,7 +20,7 @@ >> >> static void _print_addr(void *data, unsigned long address, int reliable) >> { >> - pr_info(" [<%08lx>] %s%pF\n", address, reliable ? "" : "? ", >> + pr_info(" [<%08lx>] %s%pS\n", address, reliable ? "" : "? ", >> (void *)address); > > This seems to be used to print addresses from the stack. > IMHO, we should use %pB here.
%pWTF? ;) Agreed, let's use %pB. -- Thanks, //richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel