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

From: Geert Uytterhoeven
Date: Wed May 05 2021 - 05:25:17 EST


On Wed, May 5, 2021 at 11:19 AM Jiri Slaby <jslaby@xxxxxxx> 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>

> arch/m68k/emu/nfcon.c | 2 +-
> drivers/tty/amiserial.c | 2 +-

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds