summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2025-05-06 15:07:23 +0300
committerMark Brown <broonie@kernel.org>2025-05-06 16:48:25 +0300
commit6b83ba4bc3ecb915476d688c9f00f3be57b49a0c (patch)
treec374019589f42587c88eeecbf3102d08eb8e5802 /tools/perf/scripts/python/export-to-postgresql.py
parent4d87ae7508cb7ff58fd0bcecc6e9491f42f987f8 (diff)
downloadlinux-6b83ba4bc3ecb915476d688c9f00f3be57b49a0c.tar.xz
ASoC: amd: sof_amd_sdw: Fix unlikely uninitialized variable use in create_sdw_dailinks()
Initialize current_be_id to 0 in SOF based AMD generic SoundWire machine driver to handle the unlikely case when there are no devices connected to a DAI. In this case create_sdw_dailink() would return without touching the passed pointer to current_be_id. Found by gcc -fanalyzer Cc: stable@vger.kernel.org Fixes: 6d8348ddc56ed ("ASoC: amd: acp: refactor SoundWire machine driver code") Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/20250506120823.3621604-2-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions