[PATCH 12/12] sound/isa: fix printk format

From: Jeff Garzik
Date: Tue Oct 23 2007 - 18:40:57 EST


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: Jeff Garzik <jgarzik@xxxxxxxxxx>
---

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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/