Re: [PATCH 22/35] tty: make tty_operations::write_room return uint

From
Laurentiu Tudor <laurentiu.tudor@nxp.com>
Date
2021-05-10 12:50:12
Also in
lkml
Reply to
Jiri Slaby, 2021-05-05

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 <redacted>
 drivers/tty/ehv_bytechan.c             | 4 ++--
Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>

---
Best Regards, Laurentiu
Thread (68 messages) 68 messages, 11 authors, last reply 2021-06-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help