forked from luck/tmp_suning_uos_patched
Merge branch 'for-5.10-pr_cont-fixup' into for-linus
This commit is contained in:
commit
739e7116b1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user