[alsa-devel] [PATCH] parisc/harmony: fix printk format warning
Alexander Beregalov
a.beregalov at gmail.com
Fri May 15 16:00:38 CEST 2009
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>
---
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