tty: make tty_buffer_space_avail return uint
authorJiri Slaby <jslaby@suse.cz>
Wed, 5 May 2021 09:19:17 +0000 (11:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:29:11 +0000 (18:29 +0200)
commit9a33fbf9d23034d7e89849c587b0aed0e4cf794d
tree01de10803e6c4224214136acba1c91a2004022c6
parent03b3b1a2405ccd71570cd5ec1fe4abd7bb4891cb
tty: make tty_buffer_space_avail return uint

tty_buffer_space_avail returns values >= 0, so make it clear by the
return type.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210505091928.22010-25-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_aspeed_vuart.c
drivers/tty/tty_buffer.c
include/linux/tty_flip.h