diff options
author | Jin Yao <yao.jin@linux.intel.com> | 2015-04-13 08:20:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-15 18:08:08 +0200 |
commit | ac98b4c015b50b1e452f8d55b612320be7f80825 (patch) | |
tree | b8073d2d8ee75cd768599e481d141105bbd720a0 /sound/soc/intel/boards | |
parent | Merge remote-tracking branches 'asoc/topic/wm2200', 'asoc/topic/wm5100', 'aso... (diff) | |
download | linux-ac98b4c015b50b1e452f8d55b612320be7f80825.tar.xz linux-ac98b4c015b50b1e452f8d55b612320be7f80825.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/boards')
0 files changed, 0 insertions, 0 deletions