These patches clean up tiocmget, fix leaks of USB internal error codes to userspace from the tiocmget/set, and implements checking of hardware buffers in chars_in_buffer by refactoring the retrieval of modem-control status. Johan Hovold (5): USB: ftdi_sio: fix tiocmget indentation USB: ftdi_sio: fix tiocmget and tiocmset return values USB: ftdi_sio: refactor modem-control status retrieval USB: serial: export usb_serial_generic_chars_in_buffer USB: ftdi_sio: check hardware buffers in chars_in_buffer drivers/usb/serial/ftdi_sio.c | 74 +++++++++++++++++++++++++++++++++++++++---- drivers/usb/serial/generic.c | 1 + 2 files changed, 68 insertions(+), 7 deletions(-) -- 1.7.12 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html