]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
um: Fix _print_addr()
authorRichard Weinberger <richard@nod.at>
Sun, 25 Dec 2016 22:11:05 +0000 (23:11 +0100)
committerRichard Weinberger <richard@nod.at>
Wed, 3 May 2017 20:30:20 +0000 (22:30 +0200)
Recent changes to printk() broke UML's stack trace
output. Kill the root of the problem by using a single
printk() statement.

Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/sysrq.c

index a76295f7ede9cd58beba128a21b05e685a3b0c02..6b995e870d555b12f92ab8fadb71d283fc236a76 100644 (file)
 
 static void _print_addr(void *data, unsigned long address, int reliable)
 {
-       pr_info(" [<%08lx>]", address);
-       pr_cont(" %s", reliable ? "" : "? ");
-       print_symbol("%s", address);
-       pr_cont("\n");
+       pr_info(" [<%08lx>] %s%pF\n", address, reliable ? "" : "? ",
+               (void *)address);
 }
 
 static const struct stacktrace_ops stackops = {