Skip to content

Commit

Permalink
ALSA: parisc/harmony: fix printk format warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Beregalov authored and Takashi Iwai committed May 15, 2009
1 parent 903dba1 commit b04b4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/parisc/harmony.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b04b4f7

Please sign in to comment.