Re: [PATCH v2 1/3] printk: fix name/type/scope of preferred_console var
From: Steven Rostedt
Date: Thu Mar 02 2017 - 09:57:56 EST
On Thu, 2 Mar 2017 16:11:32 +0300
Aleksey Makarov <aleksey.makarov@xxxxxxxxxx> 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@xxxxxxxxxxx>
-- Steve
> Signed-off-by: Aleksey Makarov <aleksey.makarov@xxxxxxxxxx>
> ---