android_kernel_motorola_sm6225/sound/soc/intel/haswell
Jin Yao ac98b4c015 ASoC: Intel: Remove invalid kfree of devm allocated data
kbuild robot reports following warning:
"sound/soc/intel/haswell/sst-haswell-ipc.c:2204:1-6:
 WARNING: invalid free of devm_ allocated data"

As julia explains to me, the memory allocated with devm_kalloc
is freed automatically on failure of a probe function. So this
kfree should be removed otherwise the double free will be got in
error handler path.

Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-04-15 17:08:08 +01:00
..
Makefile ASoC: Intel: create haswell folder and move haswell platform files in 2015-04-06 17:49:45 +01:00
sst-haswell-dsp.c ASoC: Intel: create haswell folder and move haswell platform files in 2015-04-06 17:49:45 +01:00
sst-haswell-ipc.c ASoC: Intel: Remove invalid kfree of devm allocated data 2015-04-15 17:08:08 +01:00
sst-haswell-ipc.h ASoC: Intel: create haswell folder and move haswell platform files in 2015-04-06 17:49:45 +01:00
sst-haswell-pcm.c ASoC: Intel: Fix a buffer overflow issue 2015-04-08 11:17:51 +01:00