Re: [PATCH 22/35] tty: make tty_operations::write_room return uint
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-05-05 09:25:16
Also in:
lkml
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-05-05 09:25:16
Also in:
lkml
On Wed, May 5, 2021 at 11:19 AM Jiri Slaby [off-list ref] 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>
arch/m68k/emu/nfcon.c | 2 +- drivers/tty/amiserial.c | 2 +-
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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