From: Joe Perches Date: Mon, 13 Dec 2010 21:42:22 +0000 (-0800) Subject: ALSA: ml403-ac97cr: Use vsprintf extension %pR for struct resource X-Git-Tag: v3.0~2035^2~7^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8cc0f421b37956262a92591f7397b200d232da6;p=platform%2Fkernel%2Flinux-amlogic.git ALSA: ml403-ac97cr: Use vsprintf extension %pR for struct resource Signed-off-by: Joe Perches Signed-off-by: Takashi Iwai --- diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c index a1282c1..5cfcb90 100644 --- a/sound/drivers/ml403-ac97cr.c +++ b/sound/drivers/ml403-ac97cr.c @@ -1143,8 +1143,8 @@ snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev, (resource->start) + 1); if (ml403_ac97cr->port == NULL) { snd_printk(KERN_ERR SND_ML403_AC97CR_DRIVER ": " - "unable to remap memory region (%x to %x)\n", - resource->start, resource->end); + "unable to remap memory region (%pR)\n", + resource); snd_ml403_ac97cr_free(ml403_ac97cr); return -EBUSY; }