Re: [PATCH v2 1/3] printk: fix name/type/scope of preferred_console var

From: Petr Mladek
Date: Tue Mar 14 2017 - 12:53:02 EST


On Thu 2017-03-02 16:11:32, Aleksey Makarov wrote:
> The variable preferred_console is used only inside register_console()
> and its semantics is boolean. It is negative when no console has been
> made preferred.
>
> Make it static bool and rename to has_preferred.
>
> Renaming was suggested by Peter Hurley
>
> Signed-off-by: Aleksey Makarov <aleksey.makarov@xxxxxxxxxx>

I am sorry for the late reply. I was sick.

The change looks fine to me.

Acked-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr