diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-04-15 14:38:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 12:25:11 -0400 |
commit | 75181f386f9a80ed6f87763ac6cf05826e253ccd (patch) | |
tree | fcad66c44b13d63db85405e374d440859d515e4c /drivers/usb/serial | |
parent | 19c190f9e0fe926db28122a804111a7538dc3498 (diff) |
USB: ti_usb: fix printk format warning
Fix printk format warning in usbserial/ti_usb:
drivers/usb/serial/ti_usb_3410_5052.c:1738: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/ti_usb_3410_5052.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index 880e990abb07..e1bfda33f5b9 100644 --- a/drivers/usb/serial/ti_usb_3410_5052.c +++ b/drivers/usb/serial/ti_usb_3410_5052.c | |||
@@ -1735,7 +1735,7 @@ static int ti_download_firmware(struct ti_device *tdev) | |||
1735 | return -ENOENT; | 1735 | return -ENOENT; |
1736 | } | 1736 | } |
1737 | if (fw_p->size > TI_FIRMWARE_BUF_SIZE) { | 1737 | if (fw_p->size > TI_FIRMWARE_BUF_SIZE) { |
1738 | dev_err(&dev->dev, "%s - firmware too large %d \n", __func__, fw_p->size); | 1738 | dev_err(&dev->dev, "%s - firmware too large %zu\n", __func__, fw_p->size); |
1739 | return -ENOENT; | 1739 | return -ENOENT; |
1740 | } | 1740 | } |
1741 | 1741 | ||