* [PATCH] ARM: OMAP: Fix warning in tusb6010_omap.c
@ 2007-05-05 7:58 Dirk Behme
2007-05-08 0:17 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2007-05-05 7:58 UTC (permalink / raw)
To: linux-omap-open-source
[-- Attachment #1: Type: text/plain, Size: 254 bytes --]
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 <dirk.behme@gmail.com>
[-- Attachment #2: tusb6010_omap_warning_fix.txt --]
[-- Type: text/plain, Size: 574 bytes --]
Index: linux-osk/drivers/usb/musb/tusb6010_omap.c
===================================================================
--- linux-osk.orig/drivers/usb/musb/tusb6010_omap.c
+++ linux-osk/drivers/usb/musb/tusb6010_omap.c
@@ -185,7 +185,7 @@ static void tusb_omap_dma_cb(int lch, u1
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),
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP: Fix warning in tusb6010_omap.c
2007-05-05 7:58 [PATCH] ARM: OMAP: Fix warning in tusb6010_omap.c Dirk Behme
@ 2007-05-08 0:17 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-05-08 0:17 UTC (permalink / raw)
To: Dirk Behme; +Cc: linux-omap-open-source
* Dirk Behme <dirk.behme@googlemail.com> [070505 00:59]:
>
> 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 <dirk.behme@gmail.com>
>
> Index: linux-osk/drivers/usb/musb/tusb6010_omap.c
> ===================================================================
> --- linux-osk.orig/drivers/usb/musb/tusb6010_omap.c
> +++ linux-osk/drivers/usb/musb/tusb6010_omap.c
> @@ -185,7 +185,7 @@ static void tusb_omap_dma_cb(int lch, u1
> 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),
>
Pushing this too.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-08 0:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-05 7:58 [PATCH] ARM: OMAP: Fix warning in tusb6010_omap.c Dirk Behme
2007-05-08 0:17 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox