From: zhaoxp3 Date: Fri, 11 Jan 2019 08:08:36 +0000 (+0800) Subject: printk: LOG_LINE_MAX to 2048 - PREFIX_MAX X-Git-Tag: MMI-RSA31.Q1-48-36-11~287 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=71040bad24b0b5c2d4cc727b205c5f8d1caf9dbf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git printk: LOG_LINE_MAX to 2048 - PREFIX_MAX To output command line completely in kernel log Change-Id: I5ff1c905cf42f2b2847fa5c1971c9185d6cadb1d Signed-off-by: zhaoxp3 Reviewed-on: https://gerrit.mot.com/1292880 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Submit-Approved: Jira Key --- diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 5edf6eb75974..932f2cced8e9 100755 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -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)