Skip to content

Commit

Permalink
+ drivers-usb-serial-sierrac-fix-printk-warning.patch added to -mm tree
Browse files Browse the repository at this point in the history
drivers/usb/serial/sierra.c: In function 'sierra_write':
drivers/usb/serial/sierra.c:375: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Elina Pasheva <epasheva@sierrawireless.com>
Cc: Rory Filer <rfiler@SierraWireless.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Andrew Morton authored and Greg Kroah-Hartman committed Jun 16, 2009
1 parent 1e0abb7 commit 0b10395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/sierra.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ static int sierra_write(struct tty_struct *tty, struct usb_serial_port *port,

portdata = usb_get_serial_port_data(port);

dev_dbg(&port->dev, "%s: write (%d bytes)\n", __func__, writesize);
dev_dbg(&port->dev, "%s: write (%zd bytes)\n", __func__, writesize);

spin_lock_irqsave(&portdata->lock, flags);
dev_dbg(&port->dev, "%s - outstanding_urbs: %d\n", __func__,
Expand Down

0 comments on commit 0b10395

Please sign in to comment.