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

2022-11-10 Thread Petr Mladek
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 Reviewed-by: Petr Mladek Best Regards, Petr

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

2022-11-07 Thread John Ogness
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 --- drivers/tty/hvc/hvc_console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/hvc/hvc_console.c