瀏覽代碼

USB: serial: fix typo in debug message

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>
Johan Hovold 15 年之前
父節點
當前提交
b4fc2aeef2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/serial/usb-serial.c

+ 1 - 1
drivers/usb/serial/usb-serial.c

@@ -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 ;) */