From: Alexander Beregalov Date: Fri, 15 May 2009 14:00:38 +0000 (+0400) Subject: ALSA: parisc/harmony: fix printk format warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b04b4f7862de8d6e8b536853aaf66a6c1bb05cbd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ALSA: parisc/harmony: fix printk format warning 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 Signed-off-by: Takashi Iwai --- diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c index 6055fd6d3b38..63ae0f9aeaf5 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; }