linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [RT PATCH] Fixed: line break of pr_cont not take effect
       [not found] <202005231419598080913@zte.com.cn>
@ 2020-05-23 10:41 ` John Ogness
  2020-05-26 16:44   ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 2+ messages in thread
From: John Ogness @ 2020-05-23 10:41 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior
  Cc: wang.yi59, pmladek, sergey.senozhatsky, rostedt, linux-kernel,
	xue.zhihong, jiang.xuexin, wang.yong12, linux-rt-users

Thank you. I added Sebastian Siewior and linux-rt-users to the addresses
since this is a patch against PREEMPT_RT.

On 2020-05-23, <wang.yi59@zte.com.cn> wrote:
> Line break of pr_cont not take effect.
> Use several pr_cont to print continuous paragraph, it is expected to
> have line break when line ends up with  '\n', however the paragraph
> does not have line break
> -printk_kthread_func will not print info before log_store insert msg
>  into printk_rb, and pr_cont calls cont_add to keep data in buffer.
>  cont_add only when the following conditions are met insert msg to
>  printk_rb
>  1.cpu != c->cpu_owner || !(flags & LOG_CONT)
>  2.c->len + len > sizeof(c->buf)
>
> Signed-off-by: 汪勇10269566 <wang.yong12@zte.com.cn>

Acked-by: John Ogness <john.ogness@linutronix.de>

@Sebastian: The original patch submission is here[0].

Thanks,
John Ogness

[0] https://lkml.kernel.org/r/1590025064-14433-1-git-send-email-wang.yi59@zte.com.cn

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RT PATCH] Fixed: line break of pr_cont not take effect
  2020-05-23 10:41 ` [RT PATCH] Fixed: line break of pr_cont not take effect John Ogness
@ 2020-05-26 16:44   ` Sebastian Andrzej Siewior
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2020-05-26 16:44 UTC (permalink / raw)
  To: John Ogness
  Cc: wang.yi59, pmladek, sergey.senozhatsky, rostedt, linux-kernel,
	xue.zhihong, jiang.xuexin, wang.yong12, linux-rt-users

On 2020-05-23 12:41:27 [+0200], John Ogness wrote:
> > Signed-off-by: 汪勇10269566 <wang.yong12@zte.com.cn>
> 
> Acked-by: John Ogness <john.ogness@linutronix.de>
> 
> @Sebastian: The original patch submission is here[0].

I reworded it and applied it. Thanks everyone.
汪勇, I suggest to mail patches as root in future.

> Thanks,
> John Ogness

Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-26 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <202005231419598080913@zte.com.cn>
2020-05-23 10:41 ` [RT PATCH] Fixed: line break of pr_cont not take effect John Ogness
2020-05-26 16:44   ` Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).