tracing: Remove newline from trace_printk warning banner
authorBorislav Petkov <bp@suse.de>
Tue, 27 Jan 2015 16:17:20 +0000 (17:17 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 27 Jan 2015 22:51:24 +0000 (17:51 -0500)
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>
kernel/trace/trace.c

index acd27555dc5be84f937b365ff323f72bc2752cb4..f82e53b0e5a7cafa9b7b3fe49b47738df9f26934 100644 (file)
@@ -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");