summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWeiguo Li <liwg06@foxmail.com>2022-03-10 11:16:48 -0600
committerMark Brown <broonie@kernel.org>2022-03-11 13:40:54 +0000
commit7e4bfcf10a03981cb3056d723bb2f92eead5c0bb (patch)
treeeb07c4f35e29067b2d597341b02cc268d57bae73 /tools/perf/scripts/python/export-to-sqlite.py
parenta174e72e2355b9025205b4b6727bf43047eac6c6 (diff)
ASoC: SOF: compress: fix null check after dereference
"cstream" is dereferenced but null checked later. Swap their positions to avoid potential null dereference. Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Weiguo Li <liwg06@foxmail.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220310171651.249385-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions