Thread (68 messages) 68 messages, 11 authors, 2021-06-10

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


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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help