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

From: Joe Perches
Date: Mon Jan 25 2016 - 07:45:12 EST


On Mon, 2016-01-25 at 17:45 +0600, Aleksey Makarov wrote:
> The variable preferred_console is used only inside register_console()
> and it's semantics is boolean.  Make it clear.

This loses the index of the preferred console.
I'm not sure this is better.