Re: [PATCHv7 4/8] printk: always use deferred printk when flush printk_safe lines

From: Steven Rostedt
Date: Mon Feb 06 2017 - 08:27:48 EST


On Mon, 6 Feb 2017 13:16:52 +0100
Petr Mladek <pmladek@xxxxxxxx> wrote:


> > > just in case, the patch (which I prefer to be ignored)
> >
> > let's keep printk_safe_flush_line().
>
> I do not have strong opinion but I would slightly prefer
> to keep the helper function. The use of printk_deferred()
> is a bit tricky and it is better to have only one copy.
>
> Steven, could you live with the original patch, please?

Sure, but make it into a static inline.

-- Steve