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

Steven Rostedt
2017-03-02T14:57:26Z

On Thu, 2 Mar 2017 16:11:32 +0300
Aleksey Makarov <aleksey.makarov@linaro.org> 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
>

Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

-- Steve

> Signed-off-by: Aleksey Makarov <aleksey.makarov@linaro.org>
> ---