Message ID | 1426130037-17956-3-git-send-email-scottwood@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/sound/core/device.c b/sound/core/device.c index 41bec30..4879711 100644 --- a/sound/core/device.c +++ b/sound/core/device.c @@ -127,7 +127,7 @@ void snd_device_free(struct snd_card *card, void *device_data) if (dev) __snd_device_free(dev); 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)); } EXPORT_SYMBOL(snd_device_free);
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood <scottwood@freescale.com> Cc: alsa-devel@alsa-project.org --- sound/core/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)