diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-21 21:49:49 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-22 19:03:42 +0200 |
| commit | 7a4c8ddba1dcf7c63b329d81de1d494188e5d2b0 (patch) | |
| tree | 09a7467e48d5dd152bc753343c6da83e53a72e93 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 2058cd0f59caf475c8efad843b900a3119eb3a5c (diff) | |
platform/x86: apple-gmux: 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>
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Link: https://patch.msgid.link/2287208.Mh6RI2rZIc@rafael.j.wysocki
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
