Re: [PATCH v2 2/4] arch: um: kmsg_dump: Use console_is_usable
From: Petr Mladek
Date: Wed Nov 26 2025 - 08:22:49 EST
On Fri 2025-11-21 15:50:34, Marcos Paulo de Souza wrote:
> All consoles found on for_each_console are registered, meaning that all
> of them have the CON_ENABLED flag set. Since NBCON was introduced it's
> important to check if a given console also implements the NBCON callbacks.
> The function console_is_usable does exactly that.
>
> Signed-off-by: Marcos Paulo de Souza <mpdesouza@xxxxxxxx>
Makes sense:
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr