2021-05-05 11:57:15

by Geert Uytterhoeven

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

On Wed, May 5, 2021 at 11:19 AM Jiri Slaby <[email protected]> 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 <[email protected]>

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

Acked-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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