Re: [PATCH 2/2] printk/console: Enhance the check for consoles using init memory
From: Petr Mladek
Date: Thu Jul 27 2017 - 06:08:36 EST
On Thu 2017-07-27 18:51:01, Sergey Senozhatsky wrote:
> On (07/27/17 11:29), Petr Mladek wrote:
> [..]
> > > > Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>
> > >
> > > Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> >
> > Thanks for the review. I am going to push the two patches into
> > for-4.14 branch so that we could get some testing via linux-next.
>
> good. agree.
>
> how do you think,
>
> would pr_warn() be enough for people to notice the wrongdoing or
> shall we put WARN_ON() there for a while at least? (assuming that
> people pay more attention to backtraces).
I would keep pr_warn(). The warning is interesting only when people
want to debug and the real console does not appear in time.
Then this will be the last but one message on the early console.
Best Regards,
Petr