Re: [PATCH printk v1 01/18] kdb: do not assume write() callback available

From: Petr Mladek
Date: Tue Mar 07 2023 - 10:05:33 EST


On Thu 2023-03-02 21:02:01, John Ogness wrote:
> It is allowed for consoles to provide no write() callback. For
> example ttynull does this.
>
> Check if a write() callback is available before using it.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr