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

Petr Mladek
2017-03-14T16:52:49Z

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@linaro.org>

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

The change looks fine to me.

Acked-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr