[alsa-devel] [PATCH] parisc/harmony: fix printk format warning

Takashi Iwai tiwai at suse.de
Fri May 15 16:06:25 CEST 2009


At Fri, 15 May 2009 18:00:38 +0400,
Alexander Beregalov wrote:
> 
> Fix this warning:
> sound/parisc/harmony.c:938: warning: format '%lx' expects type 'long unsigned int',
> but argument 2 has type 'resource_size_t'
> 
> Signed-off-by: Alexander Beregalov <a.beregalov at gmail.com>

Applied now.  Thanks.


Takashi

> ---
>  sound/parisc/harmony.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c
> index 6055fd6..63ae0f9 100644
> --- a/sound/parisc/harmony.c
> +++ b/sound/parisc/harmony.c
> @@ -935,7 +935,7 @@ snd_harmony_create(struct snd_card *card,
>  	h->iobase = ioremap_nocache(padev->hpa.start, HARMONY_SIZE);
>  	if (h->iobase == NULL) {
>  		printk(KERN_ERR PFX "unable to remap hpa 0x%lx\n",
> -		       padev->hpa.start);
> +		       (unsigned long)padev->hpa.start);
>  		err = -EBUSY;
>  		goto free_and_ret;
>  	}
> -- 
> 1.6.2.5
> 


More information about the Alsa-devel mailing list