From: Adrien Schildknecht Date: Fri, 20 Feb 2015 02:34:21 +0000 (+0100) Subject: x86/kernel: Fix output of show_stack_log_lvl() X-Git-Tag: omap-for-v4.1/fixes-rc1~190^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fc7f61c3e604f6bf778b5c6afc2715d79ab7f36;p=pandora-kernel.git x86/kernel: Fix output of show_stack_log_lvl() show_stack_log_lvl() does not set the log level after a new line, the following messages printed with pr_cont() are thus assigned to the default log level. This patch prepends the log level to the next message following a new line. print_trace_address() uses printk(log_lvl). Using printk() with just a log level is ignored and thus has no effect on the next pr_cont(). We need to prepend the log level directly into the message. Signed-off-by: Adrien Schildknecht Acked-by: Ingo Molnar Cc: Steven Rostedt Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1424399661-20327-1-git-send-email-adrien+dev@schischi.me Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed