]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace/x86: Fix order of warning messages when ftrace modifies code
authorPetr Mladek <pmladek@suse.cz>
Mon, 17 Feb 2014 15:22:53 +0000 (16:22 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 21 Apr 2014 18:00:35 +0000 (14:00 -0400)
commit1b8be953a2cc50ea9ae572cdb3490a3e9b0ad19c
treefbb19d7df0f185b3bf6a31e45be464f8b16b63d3
parent004ab973d40cac2dd9e4b8f42b1076eda8c94433
ftrace/x86: Fix order of warning messages when ftrace modifies code

The colon at the end of the printk message suggests that it should get printed
before the details printed by ftrace_bug().

When touching the line, let's use the preferred pr_warn() macro as suggested
by checkpatch.pl.

Link: http://lkml.kernel.org/r/1392650573-3390-5-git-send-email-pmladek@suse.cz
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/ftrace.c