Re: [PATCH] printk: don't unconditionally shortcut print_time()

From: Tetsuo Handa
Date: Tue Dec 04 2018 - 05:07:44 EST


On 2018/12/04 11:56, Sergey Senozhatsky wrote:
> Can we please have something better than 'f'?

OK. To pass 80 column limit, one line increased. ;-)

< + bool f = syslog_partial ? syslog_time : printk_time;
> + bool time = syslog_partial ? syslog_time : printk_time;

< + error += msg_print_text(msg, true, f, NULL, 0);
< + f = printk_time;
> + error += msg_print_text(msg, true, time, NULL,
> + 0);
> + time = printk_time;