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
File | Mode | Size |
---|---|---|
6fire | ||
bcd2000 | ||
caiaq | ||
hiface | ||
line6 | ||
misc | ||
usx2y | ||
Kconfig | -rw-r--r-- | 4.7 KB |
Makefile | -rw-r--r-- | 801 bytes |
card.c | -rw-r--r-- | 29.6 KB |
card.h | -rw-r--r-- | 7.3 KB |
clock.c | -rw-r--r-- | 17.8 KB |
clock.h | -rw-r--r-- | 389 bytes |
debug.h | -rw-r--r-- | 301 bytes |
endpoint.c | -rw-r--r-- | 39.5 KB |
endpoint.h | -rw-r--r-- | 1.4 KB |
format.c | -rw-r--r-- | 18.9 KB |
format.h | -rw-r--r-- | 489 bytes |
helper.c | -rw-r--r-- | 2.5 KB |
helper.h | -rw-r--r-- | 1.2 KB |
media.c | -rw-r--r-- | 8.1 KB |
media.h | -rw-r--r-- | 2.4 KB |
midi.c | -rw-r--r-- | 69.5 KB |
midi.h | -rw-r--r-- | 1.9 KB |
mixer.c | -rw-r--r-- | 96.9 KB |
mixer.h | -rw-r--r-- | 3.8 KB |
mixer_maps.c | -rw-r--r-- | 18.7 KB |
mixer_quirks.c | -rw-r--r-- | 81.1 KB |
mixer_quirks.h | -rw-r--r-- | 655 bytes |
mixer_s1810c.c | -rw-r--r-- | 15.3 KB |
mixer_s1810c.h | -rw-r--r-- | 210 bytes |
mixer_scarlett.c | -rw-r--r-- | 28.1 KB |
mixer_scarlett.h | -rw-r--r-- | 208 bytes |
mixer_scarlett_gen2.c | -rw-r--r-- | 54.9 KB |
mixer_scarlett_gen2.h | -rw-r--r-- | 228 bytes |
mixer_us16x08.c | -rw-r--r-- | 37.3 KB |
mixer_us16x08.h | -rw-r--r-- | 4.0 KB |
pcm.c | -rw-r--r-- | 50.4 KB |
pcm.h | -rw-r--r-- | 586 bytes |
power.c | -rw-r--r-- | 2.5 KB |
power.h | -rw-r--r-- | 924 bytes |
proc.c | -rw-r--r-- | 6.6 KB |
proc.h | -rw-r--r-- | 250 bytes |
quirks-table.h | -rw-r--r-- | 85.6 KB |
quirks.c | -rw-r--r-- | 55.4 KB |
quirks.h | -rw-r--r-- | 1.7 KB |
stream.c | -rw-r--r-- | 31.9 KB |
stream.h | -rw-r--r-- | 325 bytes |
usbaudio.h | -rw-r--r-- | 3.5 KB |
validate.c | -rw-r--r-- | 10.0 KB |
Computing file changes ...