[PATCH v2 2/4] arch: um: kmsg_dump: Use console_is_usable

Petr Mladek pmladek at suse.com
Wed Nov 26 05:22:44 PST 2025


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 at suse.com>

Makes sense:

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

Best Regards,
Petr



More information about the linux-um mailing list