Re: [PATCH 3/4] printk/btrfs: Handle more message headers

2016-10-31 Thread David Sterba
On Thu, Oct 27, 2016 at 05:52:53PM +0200, Petr Mladek wrote: > The commit 4bcc595ccd80decb4245096e ("printk: reinstate KERN_CONT for > printing continuation lines") allows to define more message headers > for a single message. The motivation is that continuous lines might > get mixed. Therefore it

Re: [PATCH 3/4] printk/btrfs: Handle more message headers

2016-10-27 Thread Joe Perches
On Thu, 2016-10-27 at 17:52 +0200, Petr Mladek wrote: > Note that 3 bytes should be enough for the header buffer. I am not > sure where the 4 bytes came from. Maybe it expected that both > KERN_SOH and the log level strings end with '\0' but they > are concatenated. I believe it was from when KERN