commit | 94cc7aeaf6c0cff0b8aeb7cb3579cee46b923560 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Wed May 05 11:19:16 2021 +0200 |
committer | Johan Hovold <johan@kernel.org> | Wed May 19 10:56:40 2021 +0200 |
tree | 480c01d00d7ff2fd9bd25f7becd79625a8bd771b | |
parent | d07f6ca923ea0927a1024dfccafc5b53b61cfecc [diff] |
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: Jiri Slaby <jslaby@suse.cz> [ johan: amend commit message, drop unrelated comment change ] Signed-off-by: Johan Hovold <johan@kernel.org>