summary refs log tree commit diff
path: root/sound/pci/hda/hda_beep.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-08-17 14:57:32 +0200
committerTakashi Iwai <tiwai@suse.de>2015-08-17 15:12:04 +0200
commit1d260d7b3b03f96dfbc9781ec046edc729220f09 (patch)
treee4b17d933d66eae40dfd5c62f357dd9c057254d1 /sound/pci/hda/hda_beep.h
parentcc75cdfe1d64585d82013632b81199b1e9f1da97 (diff)
downloadlinux-1d260d7b3b03f96dfbc9781ec046edc729220f09.tar.gz
ALSA: hda/proc - Fix racy string access for power states
The power states in a proc file are printed in a racy manner on a
single static string buffer.  Fix it by calling snd_iprintf() directly
for each state instead of processing on a temporary buffer.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_beep.h')
0 files changed, 0 insertions, 0 deletions