public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Fix warning in tusb6010_omap.c
Date: Sat, 05 May 2007 09:58:25 +0200	[thread overview]
Message-ID: <463C3921.104@googlemail.com> (raw)

[-- 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 --]



             reply	other threads:[~2007-05-05  7:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-05  7:58 Dirk Behme [this message]
2007-05-08  0:17 ` [PATCH] ARM: OMAP: Fix warning in tusb6010_omap.c Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=463C3921.104@googlemail.com \
    --to=dirk.behme@googlemail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox