From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757631AbXJaOTS (ORCPT ); Wed, 31 Oct 2007 10:19:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755917AbXJaOTI (ORCPT ); Wed, 31 Oct 2007 10:19:08 -0400 Received: from ns1.suse.de ([195.135.220.2]:43670 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755412AbXJaOTI (ORCPT ); Wed, 31 Oct 2007 10:19:08 -0400 Date: Wed, 31 Oct 2007 13:01:24 +0100 Message-ID: From: Takashi Iwai To: Gabriel C Cc: Linux Kernel Mailing List , perex@perex.cz Subject: Re: [PATCH] Fix format warning in sound/isa/ad1848/ad1848_lib.c In-Reply-To: <47288CF7.5010108@googlemail.com> References: <47288CF7.5010108@googlemail.com> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta28) (fuki) (+CVS-20070806) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At Wed, 31 Oct 2007 15:11:03 +0100, Gabriel C wrote: > > 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 The fix has been in ALSA tree since a week ago... Sigh. Jaroslav, please prepare the push? thanks, Takashi > > --- > > 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) > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >