Skip to contentSkip to conversation

usb: fix isp1760-hcd printk format warning

PATCH RESEND New Randy Dunlap 1 participant 1 message Mar 28, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 usb: fix isp1760-hcd printk format warning

From: Randy Dunlap <[email protected]>

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'

---
 drivers/usb/host/isp1760-hcd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/isp1760-hcd.c +1 -1
@@ -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++) {

--