summaryrefslogtreecommitdiffstats
path: root/sound/usb/helper.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-04-22 10:38:26 +0200
committerTakashi Iwai <tiwai@suse.de>2013-04-22 10:40:29 +0200
commit47966e977952856f184c93c4ae5da11e151cb4a3 (patch)
tree12c4ffd8df9e3300e510faf54131404a780dee2b /sound/usb/helper.c
parentALSA: compress: info leak in snd_compr_get_caps() (diff)
downloadlinux-47966e977952856f184c93c4ae5da11e151cb4a3.tar.xz
linux-47966e977952856f184c93c4ae5da11e151cb4a3.zip
ALSA: compress: Use kzalloc() for ioctls writing back data
Like the previous patch by Dan, we should clear the data to be returned from certain compress ioctls, namely, snd_compr_get_codec_caps() and snd_compr_get_params(). This time, we can simply replace kmalloc() with kzalloc(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/helper.c')
0 files changed, 0 insertions, 0 deletions