projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af31ed2
)
ALSA: Print function symbol in the error messages
author
Takashi Iwai
<tiwai@suse.de>
Thu, 16 Oct 2008 14:17:30 +0000
(16:17 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 16 Oct 2008 14:17:30 +0000
(16:17 +0200)
Use the new %pF for error messages in snd_device_*() functions
to give more understandable results.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/device.c
patch
|
blob
|
history
diff --git
a/sound/core/device.c
b/sound/core/device.c
index
c58d822
..
a67dfac
100644
(file)
--- 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 %p
F
), 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 %p
F
), not found\n", device_data,
__builtin_return_address(0));
return -ENXIO;
}