Re: [PATCH 22/35] tty: make tty_operations::write_room return uint
From: Laurentiu Tudor
Date: Mon May 10 2021 - 08:50:35 EST
On 5/5/2021 12:19 PM, Jiri Slaby wrote:
> Line disciplines expect a positive value or zero returned from
> tty->ops->write_room (invoked by tty_write_room). So make this
> assumption explicit by using unsigned int as a return value. Both of
> tty->ops->write_room and tty_write_room.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> drivers/tty/ehv_bytechan.c | 4 ++--
Acked-by: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
---
Best Regards, Laurentiu