| From | Geert Uytterhoeven <> | Date | Wed, 5 May 2021 11:25:01 +0200 | Subject | Re: [PATCH 22/35] tty: make tty_operations::write_room return uint |
| |
On Wed, May 5, 2021 at 11:19 AM Jiri Slaby <jslaby@suse.cz> 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@suse.cz>
> 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
|