Re: [PATCH printk v3 29/40] tty: serial: samsung_tty: use console_is_registered()
From: Petr Mladek
Date: Thu Nov 10 2022 - 10:02:10 EST
On Mon 2022-11-07 15:22:27, 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@xxxxxxxxxxxxx>
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr