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

Joe Perches joe at perches.com
Mon Jan 25 04:45:01 PST 2016


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.




More information about the linux-arm-kernel mailing list