ALSA: parisc/harmony: fix printk format warning
authorAlexander Beregalov <a.beregalov@gmail.com>
Fri, 15 May 2009 14:00:38 +0000 (18:00 +0400)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 May 2009 14:05:37 +0000 (16:05 +0200)
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@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/parisc/harmony.c

index 6055fd6d3b38ee90ba6d19895363ef33db38f275..63ae0f9aeaf5d07274e4238bfedb79b12cb243f7 100644 (file)
@@ -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;
        }