[alsa-devel] Question on compress offload framework memory corruption

Mark Brown broonie at kernel.org
Thu Dec 19 11:55:08 CET 2013

On Wed, Dec 18, 2013 at 01:17:51PM -0000, gsantosh at codeaurora.org wrote:
> Hi,
> I have following questions in the compressed offload framework API.
> static int soc_compr_set_params_fe(struct snd_compr_stream *cstream,
> 					struct snd_compr_params *params)
> {
> ...
> 	hw_params = kzalloc(sizeof(*hw_params), GFP_KERNEL);
> 	if (hw_params == NULL)
> 		return -ENOMEM;
> /*1st question is, what is the use of above allocated memory I do not see
> this being used in this function*/

The code you're quoting there isn't in mainline.  I've also added Vinod
to the CCs, you probably want to include him in any discussion of the
compressed API.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131219/85033b22/attachment-0001.sig>

More information about the Alsa-devel mailing list