Skip to content

Commit f6bed86

Browse files
geertuRich Felker
authored andcommitted
Revert "sh: remove needless printk()"
This reverts commit 8b92f34. "data" became the log level in commit 539e786 ("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 <[email protected]> Signed-off-by: Rich Felker <[email protected]>
1 parent fd722f2 commit f6bed86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/sh/kernel/dumpstack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ static int print_trace_stack(void *data, char *name)
118118
*/
119119
static void print_trace_address(void *data, unsigned long addr, int reliable)
120120
{
121+
printk("%s", (char *)data);
121122
printk_address(addr, reliable);
122123
}
123124

0 commit comments

Comments
 (0)