]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "sh: remove needless printk()"
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 17 Jun 2020 14:36:33 +0000 (16:36 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:08 +0000 (22:05 -0400)
This reverts commit 3c3ee0d73cb6eebfb258516a727847806b0036e2.

"data" became the log level in commit f9b58531cab3cd32 ("sh: add loglvl
to show_trace()"), so we do need to keep the printk() before the
continuation in print_trace_address().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/kernel/dumpstack.c

index ad548fc976350c50f0eba169f6279af0ff0e11d9..cc8063a01284bf643113de0242cb2b6ca98eb466 100644 (file)
@@ -118,6 +118,7 @@ static int print_trace_stack(void *data, char *name)
  */
 static void print_trace_address(void *data, unsigned long addr, int reliable)
 {
+       printk("%s", (char *)data);
        printk_address(addr, reliable);
 }