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 |
---|---|---|
adi | ||
amd | ||
atmel | ||
au1x | ||
bcm | ||
cirrus | ||
codecs | ||
dwc | ||
fsl | ||
generic | ||
hisilicon | ||
img | ||
intel | ||
jz4740 | ||
kirkwood | ||
mediatek | ||
meson | ||
mxs | ||
pxa | ||
qcom | ||
rockchip | ||
samsung | ||
sh | ||
sirf | ||
sof | ||
spear | ||
sprd | ||
sti | ||
stm | ||
sunxi | ||
tegra | ||
ti | ||
txx9 | ||
uniphier | ||
ux500 | ||
xilinx | ||
xtensa | ||
zte | ||
Kconfig | -rw-r--r-- | 2.2 KB |
Makefile | -rw-r--r-- | 1.8 KB |
soc-ac97.c | -rw-r--r-- | 10.6 KB |
soc-acpi.c | -rw-r--r-- | 2.5 KB |
soc-card.c | -rw-r--r-- | 4.8 KB |
soc-component.c | -rw-r--r-- | 23.4 KB |
soc-compress.c | -rw-r--r-- | 22.1 KB |
soc-core.c | -rw-r--r-- | 76.6 KB |
soc-dai.c | -rw-r--r-- | 17.9 KB |
soc-dapm.c | -rw-r--r-- | 121.6 KB |
soc-devres.c | -rw-r--r-- | 3.9 KB |
soc-generic-dmaengine-pcm.c | -rw-r--r-- | 13.6 KB |
soc-jack.c | -rw-r--r-- | 11.3 KB |
soc-link.c | -rw-r--r-- | 4.5 KB |
soc-ops.c | -rw-r--r-- | 25.0 KB |
soc-pcm.c | -rw-r--r-- | 78.9 KB |
soc-topology.c | -rw-r--r-- | 76.4 KB |
soc-utils.c | -rw-r--r-- | 4.3 KB |
Computing file changes ...