Skip to content
Commit 94cc7aea authored by Jiri Slaby's avatar Jiri Slaby Committed by Johan Hovold
Browse files

USB: serial: make usb_serial_driver::write_room return uint



Line disciplines expect a positive value or zero returned from
tty->ops->write_room (invoked by tty_write_room). Both of them are being
updated to return an unsigned int. Switch also
usb_serial_driver::write_room and all its users.

Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
[ johan: amend commit message, drop unrelated comment change ]
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent d07f6ca9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment