Commit b4fc2aee authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

USB: serial: fix typo in debug message

Fixes confusing "serial_chars_in_buffer = port 0" messages.
Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0076b4be
...@@ -381,7 +381,7 @@ static int serial_write_room(struct tty_struct *tty) ...@@ -381,7 +381,7 @@ static int serial_write_room(struct tty_struct *tty)
static int serial_chars_in_buffer(struct tty_struct *tty) static int serial_chars_in_buffer(struct tty_struct *tty)
{ {
struct usb_serial_port *port = tty->driver_data; struct usb_serial_port *port = tty->driver_data;
dbg("%s = port %d", __func__, port->number); dbg("%s - port %d", __func__, port->number);
/* if the device was unplugged then any remaining characters /* if the device was unplugged then any remaining characters
fell out of the connector ;) */ fell out of the connector ;) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment