This is a patch to the serqt_usb2.c file that fixes the following warning: WARNING: Missing a blank line after declarations Signed-off-by: Vincent Heuken <me@xxxxxxxxxxxxxxxxx> --- drivers/staging/serqt_usb2/serqt_usb2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c index 998c384..5e97726 100644 --- a/drivers/staging/serqt_usb2/serqt_usb2.c +++ b/drivers/staging/serqt_usb2/serqt_usb2.c @@ -257,6 +257,7 @@ static void process_modem_status(struct quatech_port *qt_port, static void process_rx_char(struct usb_serial_port *port, unsigned char data) { struct urb *urb = port->read_urb; + if (urb->actual_length) tty_insert_flip_char(&port->port, data, TTY_NORMAL); } -- 2.0.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel