Thread (17 messages) 17 messages, 7 authors, 2017-03-15

Re: [PATCH v2 1/3] printk: fix name/type/scope of preferred_console var

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2017-03-02 14:57:26
Also in: lkml

On Thu,  2 Mar 2017 16:11:32 +0300
Aleksey Makarov [off-list ref] 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.

Make it static bool and rename to has_preferred.

Renaming was suggested by Peter Hurley
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

-- Steve
Signed-off-by: Aleksey Makarov <redacted>
---
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help