Merge branch 'for-5.10-pr_cont-fixup' into for-linus

This commit is contained in:
Petr Mladek 2020-11-27 13:41:23 +01:00
commit 739e7116b1

View File

@ -528,8 +528,8 @@ static int log_store(u32 caller_id, int facility, int level,
if (dev_info)
memcpy(&r.info->dev_info, dev_info, sizeof(r.info->dev_info));
/* insert message */
if ((flags & LOG_CONT) || !(flags & LOG_NEWLINE))
/* A message without a trailing newline can be continued. */
if (!(flags & LOG_NEWLINE))
prb_commit(&e);
else
prb_final_commit(&e);