Revision 4ad9921af4f18490980369f7d60f90ade0195812 authored by John Ogness on 26 November 2020, 11:48:36 UTC, committed by Petr Mladek on 27 November 2020, 10:58:54 UTC
Any record with a trailing newline (LOG_NEWLINE flag) cannot
be continued because the newline has been stripped and will
not be visible if the message is appended. This was already
handled correctly when committing in log_output() but was
not handled correctly when committing in log_store().

Fixes: f5f022e53b87 ("printk: reimplement log_cont using record extension")
Link: https://lore.kernel.org/r/20201126114836.14750-1-john.ogness@linutronix.de
Reported-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Tested-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
1 parent 8119c43
History
File Mode Size
ad1816a
ad1848
cs423x
es1688
galaxy
gus
msnd
opti9xx
sb
wavefront
wss
Kconfig -rw-r--r-- 12.7 KB
Makefile -rw-r--r-- 892 bytes
adlib.c -rw-r--r-- 2.7 KB
als100.c -rw-r--r-- 9.7 KB
azt2320.c -rw-r--r-- 8.9 KB
cmi8328.c -rw-r--r-- 13.5 KB
cmi8330.c -rw-r--r-- 21.8 KB
es18xx.c -rw-r--r-- 68.3 KB
opl3sa2.c -rw-r--r-- 28.4 KB
sc6000.c -rw-r--r-- 17.1 KB
sscape.c -rw-r--r-- 32.1 KB

back to top