From f2c4487d19b19548efbf0426364b9b6433da8996 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Sat, 5 May 2007 09:58:25 +0200 Subject: [PATCH] ARM: OMAP: Fix warning in tusb6010_omap.c Fix warning drivers/usb/musb/tusb6010_omap.c: In function 'tusb_omap_dma_cb': drivers/usb/musb/tusb6010_omap.c:188: warning: format '%i' expects type 'int', but argument 4 has type 'long unsigned int' Signed-off-by: Dirk Behme Signed-off-by: Tony Lindgren --- drivers/usb/musb/tusb6010_omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/tusb6010_omap.c b/drivers/usb/musb/tusb6010_omap.c index 1ca6a3a1fa2..ce5d9c580eb 100644 --- a/drivers/usb/musb/tusb6010_omap.c +++ b/drivers/usb/musb/tusb6010_omap.c @@ -185,7 +185,7 @@ static void tusb_omap_dma_cb(int lch, u16 ch_status, void *data) if (pio > 0 && pio < 32) { u8 *buf; - DBG(2, "Using PIO for remaining %i bytes\n", pio); + DBG(2, "Using PIO for remaining %lu bytes\n", pio); buf = phys_to_virt((u32)chdat->dma_addr) + chdat->transfer_len; if (chdat->tx) { consistent_sync(phys_to_virt((u32)chdat->dma_addr), -- 2.41.1