Skip to content

Commit 76a4d10

Browse files
committed
ALSA: Print function symbol in the error messages
Use the new %pF for error messages in snd_device_*() functions to give more understandable results. Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent af31ed2 commit 76a4d10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎sound/core/device.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ int snd_device_free(struct snd_card *card, void *device_data)
9898
kfree(dev);
9999
return 0;
100100
}
101-
snd_printd("device free %p (from %p), not found\n", device_data,
101+
snd_printd("device free %p (from %pF), not found\n", device_data,
102102
__builtin_return_address(0));
103103
return -ENXIO;
104104
}
@@ -135,7 +135,7 @@ int snd_device_disconnect(struct snd_card *card, void *device_data)
135135
}
136136
return 0;
137137
}
138-
snd_printd("device disconnect %p (from %p), not found\n", device_data,
138+
snd_printd("device disconnect %p (from %pF), not found\n", device_data,
139139
__builtin_return_address(0));
140140
return -ENXIO;
141141
}

0 commit comments

Comments
 (0)