Re: [PATCH v2] printk: Modify operators of printed_len and text_len

From: Petr Mladek
Date: Tue Jul 11 2017 - 04:30:55 EST


On Tue 2017-07-11 14:40:55, Pierre Kuo wrote:
> With commit <ddb9baa82226> ("printk: report lost messages in printk
> safe/nmi contexts") and commit <8b1742c9c207> ("printk: remove zap_locks()
> function"), it seems we can remove initialization, "=0", of text_len and
> directly assign result of log_output to printed_len.

Just one small thing. The <> brackets should not be there around
the sha1 commit id. Otherwise, the patch looks fine to me.

Acked-by: Petr Mladek <pmladek@xxxxxxxx>

You do not need to resend the patch. I'll remove the brackets
when applying the patch. I'll wait few more days just in case
anyone has more comments on this patch.

Best Regards,
Petr