提交 c8445589 编写于 作者: H Helge Deller 提交者: Takashi Iwai

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: NHelge Deller <deller@gmx.de>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 ba2186e4
...@@ -128,7 +128,7 @@ void snd_device_disconnect(struct snd_card *card, void *device_data) ...@@ -128,7 +128,7 @@ void snd_device_disconnect(struct snd_card *card, void *device_data)
if (dev) if (dev)
__snd_device_disconnect(dev); __snd_device_disconnect(dev);
else else
dev_dbg(card->dev, "device disconnect %p (from %pF), not found\n", dev_dbg(card->dev, "device disconnect %p (from %pS), not found\n",
device_data, __builtin_return_address(0)); device_data, __builtin_return_address(0));
} }
EXPORT_SYMBOL_GPL(snd_device_disconnect); EXPORT_SYMBOL_GPL(snd_device_disconnect);
...@@ -152,7 +152,7 @@ void snd_device_free(struct snd_card *card, void *device_data) ...@@ -152,7 +152,7 @@ void snd_device_free(struct snd_card *card, void *device_data)
if (dev) if (dev)
__snd_device_free(dev); __snd_device_free(dev);
else else
dev_dbg(card->dev, "device free %p (from %pF), not found\n", dev_dbg(card->dev, "device free %p (from %pS), not found\n",
device_data, __builtin_return_address(0)); device_data, __builtin_return_address(0));
} }
EXPORT_SYMBOL(snd_device_free); EXPORT_SYMBOL(snd_device_free);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册