| Date | Tue, 15 Nov 2022 14:08:20 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH printk v4 22/39] tty: nfcon: use console_is_registered() |
| |
On Mon 2022-11-14 17:35:15, John Ogness wrote: > Currently CON_ENABLED is being (mis)used to identify if the console > has been registered. This is not reliable because it can be set even > though registration failed or it can be unset, even though the console > is registered. Use console_is_registered() instead. > > Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Best Regards, Petr
|