printk: LOG_LINE_MAX to 2048 - PREFIX_MAX
authorzhaoxp3 <zhaoxp3@motorola.com>
Fri, 11 Jan 2019 08:08:36 +0000 (16:08 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:32 +0000 (17:30 +0800)
To output command line completely in kernel log

Change-Id: I5ff1c905cf42f2b2847fa5c1971c9185d6cadb1d
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1292880
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key

kernel/printk/printk.c

index 5edf6eb75974b9d6ed65297955ef27f5ce8c4bca..932f2cced8e99f22dc749c2fef60c88196f7179f 100755 (executable)
@@ -436,7 +436,7 @@ static u32 clear_idx;
 #else
 #define PREFIX_MAX             32
 #endif
-#define LOG_LINE_MAX           (1024 - PREFIX_MAX)
+#define LOG_LINE_MAX           (2048 - PREFIX_MAX)
 
 #define LOG_LEVEL(v)           ((v) & 0x07)
 #define LOG_FACILITY(v)                ((v) >> 3 & 0xff)