summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-03-20 13:57:02 +0900
committerMark Brown <broonie@kernel.org>2019-03-21 14:58:01 +0000
commit008fe4e5382293e2da96a4dc75b95782a5f95be8 (patch)
treed906b99bda62fe581b6ea59ec424a5bd08db6956 /tools/perf/scripts/python/bin/stackcollapse-report
parent16123412a6283bcf956f1a377f2e799a79c2b439 (diff)
downloadlinux-008fe4e5382293e2da96a4dc75b95782a5f95be8.tar.gz
linux-008fe4e5382293e2da96a4dc75b95782a5f95be8.zip
ASoC: simple-card-utils: test memory allocation
li->conf will be 0 if it was not DPCM case. Then, 1) we shouldn't call devm_kcalloc() with size 0, 2) we need NULL pointer check if li->conf was not 0. This patch fixed above issues. Special thanks to Pierre-Louis Bossart Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions