diff options
author | Borislav Petkov <bp@suse.de> | 2015-01-27 17:17:20 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-01-27 17:51:24 -0500 |
commit | 69a1c994cc540cc84469acf9952f72b899b38e8b (patch) | |
tree | f75e120dd1975e4a8f8d2bdbe64e406d1944c52c /kernel/trace/trace.c | |
parent | 14a5ae40f0def33a422a45b2ed09198adb7bf11c (diff) | |
download | talos-op-linux-69a1c994cc540cc84469acf9952f72b899b38e8b.tar.gz talos-op-linux-69a1c994cc540cc84469acf9952f72b899b38e8b.zip |
tracing: Remove newline from trace_printk warning banner
Remove the output-confusing newline below:
[ 0.191328]
**********************************************************
[ 0.191493] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 0.191586] ** **
...
Link: http://lkml.kernel.org/r/1422375440-31970-1-git-send-email-bp@alien8.de
Signed-off-by: Borislav Petkov <bp@suse.de>
[ added an extra '\n' by itself, to keep what it was suppose to do ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index acd27555dc5b..f82e53b0e5a7 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2036,7 +2036,8 @@ void trace_printk_init_buffers(void) /* trace_printk() is for debug use only. Don't use it in production. */ - pr_warning("\n**********************************************************\n"); + pr_warning("\n"); + pr_warning("**********************************************************\n"); pr_warning("** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **\n"); pr_warning("** **\n"); pr_warning("** trace_printk() being used. Allocating extra memory. **\n"); |