summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBoris Faure <boris@fau.re>2026-08-20 21:22:57 +0000
committerVinod Koul <vkoul@kernel.org>2026-09-01 22:39:13 +0530
commitee8a8cfe4e8d3c67456e554c988017c252710a25 (patch)
tree62eb071e7dd9de2c88f8dec13744c16878397a67 /tools/perf/scripts/python/stackcollapse.py
parentcee9395acd8043be0644b25c34bfa86623f2b935 (diff)
downloadlinux-next-ee8a8cfe4e8d3c67456e554c988017c252710a25.tar.gz
linux-next-ee8a8cfe4e8d3c67456e554c988017c252710a25.zip
soundwire: intel: initialise quirk_mask before reading it
sdw_master_read_intel_prop() declares quirk_mask without an initialiser and ignores the return value of fwnode_property_read_u32(). When a BIOS does not describe "intel-quirk-mask" for a link, the property read leaves the variable untouched and stack garbage decides whether SDW_INTEL_QUIRK_MASK_BUS_DISABLE is honoured, so the link may be marked hw_disabled at random. Initialise it to 0, matching is_link_enabled() in sound/hda/core/intel-sdw-acpi.c. Found by code inspection, not observed at run time. Fixes: 395713d8ca43 ("soundwire: intel: handle disabled links") Signed-off-by: Boris Faure <boris@fau.re> Link: https://patch.msgid.link/20260820212220.226912-1-boris@fau.re Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions