* [PATCH -next RESEND] usb: fix isp1760-hcd printk format warning
@ 2011-03-28 15:48 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2011-03-28 15:48 UTC (permalink / raw)
To: Stephen Rothwell, gregkh, lud; +Cc: linux-next, LKML, Sebastian Siewior
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix printk format build warning and grammar typo on same line.
drivers/usb/host/isp1760-hcd.c:300: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/usb/host/isp1760-hcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20110315.orig/drivers/usb/host/isp1760-hcd.c
+++ linux-next-20110315/drivers/usb/host/isp1760-hcd.c
@@ -295,7 +295,7 @@ static void alloc_mem(struct usb_hcd *hc
}
dev_err(hcd->self.controller,
- "%s: Can not allocate %lu bytes of memory\n"
+ "%s: Cannot allocate %zu bytes of memory\n"
"Current memory map:\n",
__func__, qtd->length);
for (i = 0; i < BLOCKS; i++) {
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-28 15:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-28 15:48 [PATCH -next RESEND] usb: fix isp1760-hcd printk format warning Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).