# Re: \[PATCH printk v3 26/40\] tty: hvc: use console\_is\_registered()

- From: Petr Mladek \<pmladek@suse.com\>
- Date: 2022-11-10 14:52:49 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/11/2000860
- Thread: https://ratatoskr.run/linuxppc-dev/2022/11/238342/t.md

```text
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@linutronix.de>

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

Best Regards,
Petr
```
