Skip to content

Commit

Permalink
USB: serial: fix typo in debug message
Browse files Browse the repository at this point in the history
Fixes confusing "serial_chars_in_buffer = port 0" messages.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent 0076b4b commit b4fc2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ static int serial_write_room(struct tty_struct *tty)
static int serial_chars_in_buffer(struct tty_struct *tty)
{
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
fell out of the connector ;) */
Expand Down

0 comments on commit b4fc2ae

Please sign in to comment.