parisc/harmony: fix printk format warning
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- sound/parisc/harmony.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/parisc/harmony.c +1 -1
@@ -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; }
Signature · 1 line
1.6.2.5
At Fri, 15 May 2009 18:00:38 +0400,
Quoted 6 lines · Alexander Beregalov
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 <[email protected]>
Applied now. Thanks.
Takashi
Quoted 20 lines
--- sound/parisc/harmony.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)sound/parisc/harmony.c +1
-1@@ -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; }Signature · 1 line
1.6.2.5