Re: [PATCH v2 2/3] printk: rename selected_console -> preferred_console

From: Steven Rostedt
Date: Thu Mar 02 2017 - 10:05:45 EST


On Thu, 2 Mar 2017 16:11:33 +0300
Aleksey Makarov <aleksey.makarov@xxxxxxxxxx> wrote:

> The variable selected_console is set in __add_preferred_console()
> to point to the last console parameter that was added to the
> console_cmdline array.
>
> Rename it to preferred_console so that the name reflects the usage.

As I said previously, I prefer "selected_console" but since
"__add_preferred_console()" sets it, I'm fine with this change.
Although, I would probably have changed that function to
"__add_selected_console()" :)

Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve

>
> Suggested-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Aleksey Makarov <aleksey.makarov@xxxxxxxxxx>