aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2020-11-26 11:48:36 +0000
committerPetr Mladek <[email protected]>2020-11-27 10:58:54 +0000
commit4ad9921af4f18490980369f7d60f90ade0195812 (patch)
tree988e34d10be38b6c17d72a3cce05bc6dfd8abe5f /drivers/usb/cdns3/cdns3-imx.c
parentMerge tag 'printk-for-5.10-fixup' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-4ad9921af4f18490980369f7d60f90ade0195812.tar.gz
kernel-4ad9921af4f18490980369f7d60f90ade0195812.zip
printk: finalize records with trailing newlines
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/[email protected] Reported-by: Kefeng Wang <[email protected]> Signed-off-by: John Ogness <[email protected]> Tested-by: Kefeng Wang <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions