summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-21 21:54:29 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-22 19:29:19 +0200
commitaae5bd00ced5b7e42ef3b3aa46923ad72388c60b (patch)
treef521d3ae30c69ffcb1d37b001383d90ad981a12c /tools/perf/scripts/python/bin/stackcollapse-report
parent6f50ab7ab1f93e874fa75d18bf98bbca4ce0204f (diff)
ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()
Replace acpi_get_first_physical_node() that is slated for removal with acpi_bus_get_primary_device() that takes a reference to the device it is about to return. This addresses a potential use-after-free that may occur if the device returned by acpi_get_first_physical_node() is removed right after dropping its ACPI companion's physical_node_lock in that function. It also fixes a device reference counting issue that may lead to a premature device release if devm_kzalloc() fails in acp3x_es83xx_probe(). Fixes: 54fcd9dd44b2 ("ASoC: amd: acp: Add machine driver that enables sound for systems with a ES8336 codec") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Mark Brown <broonie@kernel.org> Link: https://patch.msgid.link/2310746.NgBsaNRSFp@rafael.j.wysocki
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions