diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-02-13 11:22:06 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 16:20:33 -0700 |
commit | d0626808f7a6181c1c750d261da9a7a845c29e13 (patch) | |
tree | 103eb88e1ae0a287c14848765d6916276ae69993 /drivers/usb/host | |
parent | 551509d267905705f6d723e51ec706916f06b859 (diff) | |
download | blackbird-op-linux-d0626808f7a6181c1c750d261da9a7a845c29e13.tar.gz blackbird-op-linux-d0626808f7a6181c1c750d261da9a7a845c29e13.zip |
USB: fix ehci printk formats
Fix ehci printk formats:
drivers/usb/host/ehci-q.c:351: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
drivers/usb/host/ehci-q.c:351: 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/host')
-rw-r--r-- | drivers/usb/host/ehci-q.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c index 01132ac74eb8..1976b1b3778c 100644 --- a/drivers/usb/host/ehci-q.c +++ b/drivers/usb/host/ehci-q.c @@ -349,7 +349,7 @@ qh_completions (struct ehci_hcd *ehci, struct ehci_qh *qh) --qh->xacterrs > 0 && !urb->unlinked) { ehci_dbg(ehci, - "detected XactErr len %d/%d retry %d\n", + "detected XactErr len %zu/%zu retry %d\n", qtd->length - QTD_LENGTH(token), qtd->length, QH_XACTERR_MAX - qh->xacterrs); |