lkml.org 
[lkml]   [2012]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH 3/3] printk: Set KERN_CONT to ""
Date
Logging content is only printable ASCII.

Now that all KERN_<LEVEL> uses are specified by ASCII SOH,
KERN_CONT doesn't have any real purpose.

Signed-off-by: Joe Perches <joe@perches.com>
---
include/linux/printk.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/printk.h b/include/linux/printk.h
index ad76855..482121b 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -25,7 +25,7 @@ extern const char linux_proc_banner[];
* line that had no enclosing \n). Only to be used by core/arch code
* during early bootup (a continued line is not SMP-safe otherwise).
*/
-#define KERN_CONT KERN_SOH "c"
+#define KERN_CONT ""

extern int console_printk[];

--
1.7.8.111.gad25c.dirty


\
 
 \ /
  Last update: 2012-05-25 01:21    [W:0.088 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site