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 |
---|---|---|
Kconfig | -rw-r--r-- | 1.1 KB |
Makefile | -rw-r--r-- | 488 bytes |
capture.c | -rw-r--r-- | 7.4 KB |
capture.h | -rw-r--r-- | 649 bytes |
driver.c | -rw-r--r-- | 21.3 KB |
driver.h | -rw-r--r-- | 5.8 KB |
midi.c | -rw-r--r-- | 6.7 KB |
midi.h | -rw-r--r-- | 1.1 KB |
midibuf.c | -rw-r--r-- | 5.1 KB |
midibuf.h | -rw-r--r-- | 897 bytes |
pcm.c | -rw-r--r-- | 15.5 KB |
pcm.h | -rw-r--r-- | 5.1 KB |
playback.c | -rw-r--r-- | 11.2 KB |
playback.h | -rw-r--r-- | 966 bytes |
pod.c | -rw-r--r-- | 13.0 KB |
podhd.c | -rw-r--r-- | 15.1 KB |
toneport.c | -rw-r--r-- | 14.2 KB |
variax.c | -rw-r--r-- | 6.2 KB |
Computing file changes ...