[PATCH printk v3 26/40] tty: hvc: use console_is_registered()

Petr Mladek pmladek at suse.com
Fri Nov 11 01:52:39 AEDT 2022


On Mon 2022-11-07 15:22:24, John Ogness wrote:
> It is not reliable to check for CON_ENABLED in order to identify if a
> console is registered. Use console_is_registered() instead.
> 
> Signed-off-by: John Ogness <john.ogness at linutronix.de>

Reviewed-by: Petr Mladek <pmladek at suse.com>

Best Regards,
Petr


More information about the Linuxppc-dev mailing list