All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix format warning in sound/isa/ad1848/ad1848_lib.c
@ 2007-10-31 14:11 Gabriel C
  2007-10-31 12:01 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel C @ 2007-10-31 14:11 UTC (permalink / raw)
  To: Linux Kernel Mailing List, perex

Hi,

I see this warning on current git head :

...

sound/isa/ad1848/ad1848_lib.c: In function 'snd_ad1848_mce_down':
sound/isa/ad1848/ad1848_lib.c:216: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'

...

Signed-off-by: Gabriel Craciunescu <nix.or.die@googlemail.com>

---

 sound/isa/ad1848/ad1848_lib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/isa/ad1848/ad1848_lib.c b/sound/isa/ad1848/ad1848_lib.c
index a901cd1..9a64035 100644
--- a/sound/isa/ad1848/ad1848_lib.c
+++ b/sound/isa/ad1848/ad1848_lib.c
@@ -213,7 +213,7 @@ static void snd_ad1848_mce_down(struct snd_ad1848 *chip)
 	for (timeout = 12000; timeout > 0 && (inb(AD1848P(chip, REGSEL)) & AD1848_INIT); timeout--)
 		udelay(100);
 
-	snd_printdd("(1) timeout = %d\n", timeout);
+	snd_printdd("(1) timeout = %ld\n", timeout);
 
 #ifdef CONFIG_SND_DEBUG
 	if (inb(AD1848P(chip, REGSEL)) & AD1848_INIT)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-31 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-31 14:11 [PATCH] Fix format warning in sound/isa/ad1848/ad1848_lib.c Gabriel C
2007-10-31 12:01 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.