mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Gabriel C <nix.or.die@googlemail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, perex@perex.cz
Subject: Re: [PATCH] Fix format warning in sound/isa/ad1848/ad1848_lib.c
Date: Wed, 31 Oct 2007 13:01:24 +0100	[thread overview]
Message-ID: <s5hhck7o5m3.wl%tiwai@suse.de> (raw)
In-Reply-To: <47288CF7.5010108@googlemail.com>

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 <nix.or.die@googlemail.com>

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/
> 

      reply	other threads:[~2007-10-31 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-31 14:11 Gabriel C
2007-10-31 12:01 ` Takashi Iwai [this message]

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=s5hhck7o5m3.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nix.or.die@googlemail.com \
    --cc=perex@perex.cz \
    /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

all inboxes | Powered by JetHome®