On Thu 2017-03-02 16:11:32, 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. > > Make it static bool and rename to has_preferred. > > Renaming was suggested by Peter Hurley > > Signed-off-by: Aleksey Makarov <aleksey.makarov@xxxxxxxxxx> I am sorry for the late reply. I was sick. The change looks fine to me. Acked-by: Petr Mladek <pmladek@xxxxxxxx> Best Regards, Petr -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html