Re: [PATCH 1/2] printk: fix name and type of some variables

2017-03-01 Thread Steven Rostedt
On Wed, 1 Mar 2017 19:13:45 +0300 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. > > The variable selected_console holds an index into the console_cmdline >

[PATCH 1/2] printk: fix name and type of some variables

2017-03-01 Thread Aleksey Makarov
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. The variable selected_console holds an index into the console_cmdline array, pointing to the console that was made preferred. Rename the var