[PATCH v2 3/4] printk: Use console_is_usable on console_unblank
Petr Mladek
pmladek at suse.com
Wed Nov 26 05:24:58 PST 2025
On Fri 2025-11-21 15:50:35, Marcos Paulo de Souza wrote:
> The macro for_each_console_srcu iterates over all registered consoles. It's
> implied that all registered consoles have CON_ENABLED flag set, making
> the check for the flag unnecessary. Call console_is_usable function to
> fully verify if the given console is usable before calling the ->unblank
> callback.
>
> 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