Re: [PATCH 1/3] printk: make preferred_console local static bool

From: Aleksey Makarov
Date: Mon Jan 25 2016 - 09:55:30 EST




On 25.01.2016 20:24, Andy Shevchenko wrote:
On Mon, Jan 25, 2016 at 1:45 PM, Aleksey Makarov
<aleksey.makarov@xxxxxxxxxx> wrote:
The variable preferred_console is used only inside register_console()
and it's semantics is boolean. Make it clear.

However the patch looks okay it brings imbalance to understanding how
exactly the preferred console is chosen.

On the contrary, I would say it makes things more clear.

Also please consider this patch preparatory for the further changes.
See my replies to Joe Perches.