diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-21 21:55:15 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-22 19:29:20 +0200 |
| commit | e1aee48abfaeed1fe1a88018066d2f06c98c065f (patch) | |
| tree | 3420ae8b28a440c125f5b8261e37848b85207bb4 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | aae5bd00ced5b7e42ef3b3aa46923ad72388c60b (diff) | |
ASoC: intel: boards: 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.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/15844908.tv2OnDr8pf@rafael.j.wysocki
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
