Skip to content

Commit a8cc0f4

Browse files
JoePerchestiwai
authored andcommitted
ALSA: ml403-ac97cr: Use vsprintf extension %pR for struct resource
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 354d14b commit a8cc0f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎sound/drivers/ml403-ac97cr.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,8 +1143,8 @@ snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev,
11431143
(resource->start) + 1);
11441144
if (ml403_ac97cr->port == NULL) {
11451145
snd_printk(KERN_ERR SND_ML403_AC97CR_DRIVER ": "
1146-
"unable to remap memory region (%x to %x)\n",
1147-
resource->start, resource->end);
1146+
"unable to remap memory region (%pR)\n",
1147+
resource);
11481148
snd_ml403_ac97cr_free(ml403_ac97cr);
11491149
return -EBUSY;
11501150
}

0 commit comments

Comments
 (0)