aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-10-16 16:17:30 +0200
committerTakashi Iwai <tiwai@suse.de>2008-10-16 16:17:30 +0200
commit76a4d10e522bfc238ddf70f35272088d420d2dcf (patch)
tree7d0d1c4378386f56527ba30c394b1189b78ef9f2
parentaf31ed217a0fe433e06c83b978bcb805ada6295a (diff)
downloadkernel_samsung_aries-76a4d10e522bfc238ddf70f35272088d420d2dcf.zip
kernel_samsung_aries-76a4d10e522bfc238ddf70f35272088d420d2dcf.tar.gz
kernel_samsung_aries-76a4d10e522bfc238ddf70f35272088d420d2dcf.tar.bz2
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>
-rw-r--r--sound/core/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/device.c b/sound/core/device.c
index c58d822..a67dfac0 100644
--- a/sound/core/device.c
+++ b/sound/core/device.c
@@ -98,7 +98,7 @@ int snd_device_free(struct snd_card *card, void *device_data)
kfree(dev);
return 0;
}
- snd_printd("device free %p (from %p), not found\n", device_data,
+ snd_printd("device free %p (from %pF), not found\n", device_data,
__builtin_return_address(0));
return -ENXIO;
}
@@ -135,7 +135,7 @@ int snd_device_disconnect(struct snd_card *card, void *device_data)
}
return 0;
}
- snd_printd("device disconnect %p (from %p), not found\n", device_data,
+ snd_printd("device disconnect %p (from %pF), not found\n", device_data,
__builtin_return_address(0));
return -ENXIO;
}