diff options
| author | Takashi Iwai <[email protected]> | 2009-08-27 10:34:54 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2009-08-27 10:39:35 +0000 |
| commit | 1b0053a0f0893e6bbaaee0d28f5f6269459d8d14 (patch) | |
| tree | c2cb5aeacb480992b4c92ea7a08283672cada6bb /security/selinux/hooks.c | |
| parent | Linux 2.6.31-rc7 (diff) | |
| download | kernel-1b0053a0f0893e6bbaaee0d28f5f6269459d8d14.tar.gz kernel-1b0053a0f0893e6bbaaee0d28f5f6269459d8d14.zip | |
ALSA: core - strip too long file names in snd_print*()
When modules are built with M= option, they pass long file paths to
__FILE__. This results in ugly outputs of snd_print*() when
CONFIG_SND_VERBOSE_PRINTK is set.
This patch adds a check of the path and strips the leading path dirs
if the file name is an absolute path to improve the readability of logs.
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
