diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-05-15 10:00:38 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-05-15 10:05:37 -0400 |
commit | b04b4f7862de8d6e8b536853aaf66a6c1bb05cbd (patch) | |
tree | e02d9203ac3aa4af8e0e6ab6b2f4d7436969d938 | |
parent | 903dba1eae49270a8c2275636071c3a238c8104d (diff) |
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 <a.beregalov@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | 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 6055fd6d3b38..63ae0f9aeaf5 100644 --- a/sound/parisc/harmony.c +++ b/sound/parisc/harmony.c | |||
@@ -935,7 +935,7 @@ snd_harmony_create(struct snd_card *card, | |||
935 | h->iobase = ioremap_nocache(padev->hpa.start, HARMONY_SIZE); | 935 | h->iobase = ioremap_nocache(padev->hpa.start, HARMONY_SIZE); |
936 | if (h->iobase == NULL) { | 936 | if (h->iobase == NULL) { |
937 | printk(KERN_ERR PFX "unable to remap hpa 0x%lx\n", | 937 | printk(KERN_ERR PFX "unable to remap hpa 0x%lx\n", |
938 | padev->hpa.start); | 938 | (unsigned long)padev->hpa.start); |
939 | err = -EBUSY; | 939 | err = -EBUSY; |
940 | goto free_and_ret; | 940 | goto free_and_ret; |
941 | } | 941 | } |