Re: [PATCH -next] ASoC: Intel: sst_byt: remove kfree for memory allocated with devm_kzalloc

2015-04-17 Thread Mark Brown
On Thu, Apr 16, 2015 at 09:46:29PM +0800, weiyj...@163.com wrote: > From: Wei Yongjun > > It's not necessary to free memory allocated with devm_kzalloc > and using kfree leads to a double free. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH -next] ASoC: Intel: sst_byt: remove kfree for memory allocated with devm_kzalloc

2015-04-16 Thread Jarkko Nikula
Hi On 04/16/2015 04:46 PM, weiyj...@163.com wrote: From: Wei Yongjun It's not necessary to free memory allocated with devm_kzalloc and using kfree leads to a double free. Signed-off-by: Wei Yongjun --- sound/soc/intel/baytrail/sst-baytrail-ipc.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH -next] ASoC: Intel: sst_byt: remove kfree for memory allocated with devm_kzalloc

2015-04-16 Thread weiyj_lk
From: Wei Yongjun It's not necessary to free memory allocated with devm_kzalloc and using kfree leads to a double free. Signed-off-by: Wei Yongjun --- sound/soc/intel/baytrail/sst-baytrail-ipc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/intel/baytrail/sst-baytrail-ipc.c b/s