Commit 76a4d10e522bfc238ddf70f35272088d420d2dcf
1 parent
af31ed217a
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
sound/core/device.c
... | ... | @@ -98,7 +98,7 @@ |
98 | 98 | kfree(dev); |
99 | 99 | return 0; |
100 | 100 | } |
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, | |
102 | 102 | __builtin_return_address(0)); |
103 | 103 | return -ENXIO; |
104 | 104 | } |
... | ... | @@ -135,7 +135,7 @@ |
135 | 135 | } |
136 | 136 | return 0; |
137 | 137 | } |
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, | |
139 | 139 | __builtin_return_address(0)); |
140 | 140 | return -ENXIO; |
141 | 141 | } |