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
Makefile -rw-r--r-- 963 bytes
emu8000.c -rw-r--r-- 35.2 KB
emu8000_callback.c -rw-r--r-- 12.6 KB
emu8000_local.h -rw-r--r-- 971 bytes
emu8000_patch.c -rw-r--r-- 6.7 KB
emu8000_pcm.c -rw-r--r-- 16.8 KB
emu8000_synth.c -rw-r--r-- 2.5 KB
jazz16.c -rw-r--r-- 10.1 KB
sb16.c -rw-r--r-- 19.1 KB
sb16_csp.c -rw-r--r-- 31.9 KB
sb16_main.c -rw-r--r-- 25.3 KB
sb8.c -rw-r--r-- 6.1 KB
sb8_main.c -rw-r--r-- 16.7 KB
sb8_midi.c -rw-r--r-- 7.5 KB
sb_common.c -rw-r--r-- 6.4 KB
sb_mixer.c -rw-r--r-- 27.3 KB
sbawe.c -rw-r--r-- 38 bytes

back to top