Re: [PATCH printk v2 01/11] printk: Make console_is_usable() available to nbcon

From: Petr Mladek
Date: Fri Sep 22 2023 - 04:33:53 EST


On Wed 2023-09-20 01:14:46, John Ogness wrote:
> Move console_is_usable() as-is into internal.h so that it can
> be used by nbcon printing functions as well.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

The function is relatively complex for being defined as inline
in a header file. IMHO, it is around a sane limit, especially
because it is not used in fast paths. Anyway...

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr