From: Takashi Iwai Date: Mon, 22 Apr 2013 08:38:26 +0000 (+0200) Subject: ALSA: compress: Use kzalloc() for ioctls writing back data X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47966e977952856f184c93c4ae5da11e151cb4a3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed