Messages in this thread Patch in this message | | | Date | Fri, 13 Feb 2009 11:22:06 -0800 | From | Randy Dunlap <> | Subject | [PATCH -next] usb: fix ehci printk formats |
| |
From: Randy Dunlap <randy.dunlap@oracle.com>
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> --- drivers/usb/host/ehci-q.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20090213.orig/drivers/usb/host/ehci-q.c +++ linux-next-20090213/drivers/usb/host/ehci-q.c @@ -349,7 +349,7 @@ qh_completions (struct ehci_hcd *ehci, s --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);
| |