Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185396
b: refs/heads/master
c: 759f363
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent 126e77d commit ca8d22f
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 815e173e1d71742f1135fb4d4931e8115a3ca0ef
refs/heads/master: 759f3634267a67ac90f3fa7fc06510dfd43b4e45
2 changes: 1 addition & 1 deletion trunk/drivers/usb/serial/cp210x.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ static void cp210x_set_termios(struct tty_struct *tty,
baud);
if (cp210x_set_config_single(port, CP210X_SET_BAUDDIV,
((BAUD_RATE_GEN_FREQ + baud/2) / baud))) {
dbg("Baud rate requested not supported by device\n");
dbg("Baud rate requested not supported by device");
baud = tty_termios_baud_rate(old_termios);
}
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/serial/cyberjack.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ static void cyberjack_read_bulk_callback(struct urb *urb)

tty = tty_port_tty_get(&port->port);
if (!tty) {
dbg("%s - ignoring since device not open\n", __func__);
dbg("%s - ignoring since device not open", __func__);
return;
}
if (urb->actual_length) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/serial/ftdi_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,7 @@ static int ftdi_write(struct tty_struct *tty, struct usb_serial_port *port,
spin_lock_irqsave(&priv->tx_lock, flags);
if (priv->tx_outstanding_urbs > URB_UPPER_LIMIT) {
spin_unlock_irqrestore(&priv->tx_lock, flags);
dbg("%s - write limit hit\n", __func__);
dbg("%s - write limit hit", __func__);
return 0;
}
priv->tx_outstanding_urbs++;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/serial/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static int usb_serial_multi_urb_write(struct tty_struct *tty,
if (port->urbs_in_flight >
port->serial->type->max_in_flight_urbs) {
spin_unlock_irqrestore(&port->lock, flags);
dbg("%s - write limit hit\n", __func__);
dbg("%s - write limit hit", __func__);
return bwrite;
}
port->tx_bytes_flight += towrite;
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/usb/serial/io_edgeport.c
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@ static void process_rcvd_status(struct edgeport_serial *edge_serial,
return;

case IOSP_EXT_STATUS_RX_CHECK_RSP:
dbg("%s ========== Port %u CHECK_RSP Sequence = %02x =============\n", __func__, edge_serial->rxPort, byte3);
dbg("%s ========== Port %u CHECK_RSP Sequence = %02x =============", __func__, edge_serial->rxPort, byte3);
/* Port->RxCheckRsp = true; */
return;
}
Expand Down Expand Up @@ -2039,7 +2039,7 @@ static void process_rcvd_status(struct edgeport_serial *edge_serial,
break;

default:
dbg("%s - Unrecognized IOSP status code %u\n", __func__, code);
dbg("%s - Unrecognized IOSP status code %u", __func__, code);
break;
}
return;
Expand Down Expand Up @@ -2494,7 +2494,7 @@ static int calc_baud_rate_divisor(int baudrate, int *divisor)

*divisor = custom;

dbg("%s - Baud %d = %d\n", __func__, baudrate, custom);
dbg("%s - Baud %d = %d", __func__, baudrate, custom);
return 0;
}

Expand Down Expand Up @@ -2879,7 +2879,7 @@ static void load_application_firmware(struct edgeport_serial *edge_serial)
break;

case EDGE_DOWNLOAD_FILE_NONE:
dbg ("No download file specified, skipping download\n");
dbg("No download file specified, skipping download");
return;

default:
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/serial/io_ti.c
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ static void edge_interrupt_callback(struct urb *urb)
case TIUMP_INTERRUPT_CODE_MSR: /* MSR */
/* Copy MSR from UMP */
msr = data[1];
dbg("%s - ===== Port %u MSR Status = %02x ======\n",
dbg("%s - ===== Port %u MSR Status = %02x ======",
__func__, port_number, msr);
handle_new_msr(edge_port, msr);
break;
Expand Down
14 changes: 7 additions & 7 deletions trunk/drivers/usb/serial/mos7720.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static void mos7720_interrupt_callback(struct urb *urb)
__u8 sp1;
__u8 sp2;

dbg("%s", " : Entering\n");
dbg(" : Entering");

switch (status) {
case 0:
Expand Down Expand Up @@ -278,7 +278,7 @@ static void mos7720_bulk_in_callback(struct urb *urb)

mos7720_port = urb->context;
if (!mos7720_port) {
dbg("%s", "NULL mos7720_port pointer \n");
dbg("NULL mos7720_port pointer");
return ;
}

Expand Down Expand Up @@ -386,7 +386,7 @@ static int send_mos_cmd(struct usb_serial *serial, __u8 request, __u16 value,
}
out:
if (status < 0)
dbg("Command Write failed Value %x index %x\n", value, index);
dbg("Command Write failed Value %x index %x", value, index);

return status;
}
Expand Down Expand Up @@ -491,7 +491,7 @@ static int mos7720_open(struct tty_struct *tty, struct usb_serial_port *port)
*/
port_number = port->number - port->serial->minor;
send_mos_cmd(port->serial, MOS_READ, port_number, UART_LSR, &data);
dbg("SS::%p LSR:%x\n", mos7720_port, data);
dbg("SS::%p LSR:%x", mos7720_port, data);

dbg("Check:Sending Command ..........");

Expand Down Expand Up @@ -830,7 +830,7 @@ static void mos7720_throttle(struct tty_struct *tty)
struct moschip_port *mos7720_port;
int status;

dbg("%s- port %d\n", __func__, port->number);
dbg("%s- port %d", __func__, port->number);

mos7720_port = usb_get_serial_port_data(port);

Expand Down Expand Up @@ -1309,7 +1309,7 @@ static void mos7720_set_termios(struct tty_struct *tty,
return;
}

dbg("%s\n", "setting termios - ASPIRE");
dbg("setting termios - ASPIRE");

cflag = tty->termios->c_cflag;

Expand All @@ -1327,7 +1327,7 @@ static void mos7720_set_termios(struct tty_struct *tty,
change_port_settings(tty, mos7720_port, old_termios);

if (!port->read_urb) {
dbg("%s", "URB KILLED !!!!!\n");
dbg("URB KILLED !!!!!");
return;
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/serial/omninet.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ static void omninet_write_bulk_callback(struct urb *urb)
struct usb_serial_port *port = urb->context;
int status = urb->status;

dbg("%s - port %0x\n", __func__, port->number);
dbg("%s - port %0x", __func__, port->number);

port->write_urb_busy = 0;
if (status) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/usb/serial/opticon.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static int opticon_write(struct tty_struct *tty, struct usb_serial_port *port,
spin_lock_irqsave(&priv->lock, flags);
if (priv->outstanding_urbs > URB_UPPER_LIMIT) {
spin_unlock_irqrestore(&priv->lock, flags);
dbg("%s - write limit hit\n", __func__);
dbg("%s - write limit hit", __func__);
return 0;
}
priv->outstanding_urbs++;
Expand Down Expand Up @@ -288,7 +288,7 @@ static int opticon_write_room(struct tty_struct *tty)
spin_lock_irqsave(&priv->lock, flags);
if (priv->outstanding_urbs > URB_UPPER_LIMIT * 2 / 3) {
spin_unlock_irqrestore(&priv->lock, flags);
dbg("%s - write limit hit\n", __func__);
dbg("%s - write limit hit", __func__);
return 0;
}
spin_unlock_irqrestore(&priv->lock, flags);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/usb/serial/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ static void option_instat_callback(struct urb *urb)
(struct usb_ctrlrequest *)urb->transfer_buffer;

if (!req_pkt) {
dbg("%s: NULL req_pkt\n", __func__);
dbg("%s: NULL req_pkt", __func__);
return;
}
if ((req_pkt->bRequestType == 0xA1) &&
Expand Down Expand Up @@ -1452,7 +1452,7 @@ static int option_resume(struct usb_serial *serial)
for (i = 0; i < serial->num_ports; i++) {
port = serial->port[i];
if (!port->interrupt_in_urb) {
dbg("%s: No interrupt URB for port %d\n", __func__, i);
dbg("%s: No interrupt URB for port %d", __func__, i);
continue;
}
err = usb_submit_urb(port->interrupt_in_urb, GFP_NOIO);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/serial/spcp8x5.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ static void spcp8x5_set_termios(struct tty_struct *tty,
if (i < 0)
dev_err(&port->dev, "Set UART format %#x failed (error = %d)\n",
uartdata, i);
dbg("0x21:0x40:0:0 %d\n", i);
dbg("0x21:0x40:0:0 %d", i);

if (cflag & CRTSCTS) {
/* enable hardware flow control */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/usb/serial/visor.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ static int visor_write(struct tty_struct *tty, struct usb_serial_port *port,
spin_lock_irqsave(&priv->lock, flags);
if (priv->outstanding_urbs > URB_UPPER_LIMIT) {
spin_unlock_irqrestore(&priv->lock, flags);
dbg("%s - write limit hit\n", __func__);
dbg("%s - write limit hit", __func__);
return 0;
}
priv->outstanding_urbs++;
Expand Down Expand Up @@ -446,7 +446,7 @@ static int visor_write_room(struct tty_struct *tty)
spin_lock_irqsave(&priv->lock, flags);
if (priv->outstanding_urbs > URB_UPPER_LIMIT * 2 / 3) {
spin_unlock_irqrestore(&priv->lock, flags);
dbg("%s - write limit hit\n", __func__);
dbg("%s - write limit hit", __func__);
return 0;
}
spin_unlock_irqrestore(&priv->lock, flags);
Expand Down

0 comments on commit ca8d22f

Please sign in to comment.