diff options
author | Helge Deller <deller@gmx.de> | 2017-09-06 16:28:01 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-09-07 04:36:02 -0400 |
commit | c8445589450582a3d948779c0fc5106604ce89a1 (patch) | |
tree | 246379dd7ee5afe6c80491c3330cfb4fd570b511 | |
parent | ba2186e40c9565b0a3ecd9e51ac1195cc501c182 (diff) |
ALSA: core: Use %pS printk format for direct addresses
The debug functions uses wrongly the %pF instead of the %pS printk format
specifier for printing symbols for the address returned by
_builtin_return_address(0). Fix it for the ia64, ppc64 and parisc64
architectures.
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/core/device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/device.c b/sound/core/device.c index 8918838b1999..cb0e46f66cc9 100644 --- a/sound/core/device.c +++ b/sound/core/device.c | |||
@@ -128,7 +128,7 @@ void snd_device_disconnect(struct snd_card *card, void *device_data) | |||
128 | if (dev) | 128 | if (dev) |
129 | __snd_device_disconnect(dev); | 129 | __snd_device_disconnect(dev); |
130 | else | 130 | else |
131 | dev_dbg(card->dev, "device disconnect %p (from %pF), not found\n", | 131 | dev_dbg(card->dev, "device disconnect %p (from %pS), not found\n", |
132 | device_data, __builtin_return_address(0)); | 132 | device_data, __builtin_return_address(0)); |
133 | } | 133 | } |
134 | EXPORT_SYMBOL_GPL(snd_device_disconnect); | 134 | EXPORT_SYMBOL_GPL(snd_device_disconnect); |
@@ -152,7 +152,7 @@ void snd_device_free(struct snd_card *card, void *device_data) | |||
152 | if (dev) | 152 | if (dev) |
153 | __snd_device_free(dev); | 153 | __snd_device_free(dev); |
154 | else | 154 | else |
155 | dev_dbg(card->dev, "device free %p (from %pF), not found\n", | 155 | dev_dbg(card->dev, "device free %p (from %pS), not found\n", |
156 | device_data, __builtin_return_address(0)); | 156 | device_data, __builtin_return_address(0)); |
157 | } | 157 | } |
158 | EXPORT_SYMBOL(snd_device_free); | 158 | EXPORT_SYMBOL(snd_device_free); |