diff options
author | Jin Yao <yao.jin@linux.intel.com> | 2015-04-13 14:20:54 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-27 15:43:43 +0100 |
commit | 3228723b0ce0ef6ef6d3f59f282f061430691ab9 (patch) | |
tree | 68a6d94bcae7594c146a5f176819865600624a22 /sound/soc/intel/atom | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | lwn-3228723b0ce0ef6ef6d3f59f282f061430691ab9.tar.gz lwn-3228723b0ce0ef6ef6d3f59f282f061430691ab9.zip |
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>
Diffstat (limited to 'sound/soc/intel/atom')
0 files changed, 0 insertions, 0 deletions