Commit 30a9f6e3 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fix CHECKER found bug in the keyspan.c driver

parent b11b238e
...@@ -340,8 +340,8 @@ static int keyspan_write(struct usb_serial_port *port, int from_user, ...@@ -340,8 +340,8 @@ static int keyspan_write(struct usb_serial_port *port, int from_user,
p_priv = usb_get_serial_port_data(port); p_priv = usb_get_serial_port_data(port);
d_details = p_priv->device_details; d_details = p_priv->device_details;
dbg("%s - for port %d (%d chars [%x]), flip=%d", dbg("%s - for port %d (%d chars), flip=%d",
__FUNCTION__, port->number, count, buf[0], p_priv->out_flip); __FUNCTION__, port->number, count, p_priv->out_flip);
for (left = count; left > 0; left -= todo) { for (left = count; left > 0; left -= todo) {
todo = left; todo = left;
......
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