diff options
| author | 2026-09-21 21:51:06 +0200 | |
|---|---|---|
| committer | 2026-09-22 19:04:15 +0200 | |
| commit | 37a78048d6161e13f61ab773dcbd6e7ba965e978 (patch) | |
| tree | b41d1c5d8245280153332b5661c0442198f217e0 /scripts/Makefile.thinlto | |
| parent | platform/x86: apple-gmux: Switch to use acpi_bus_get_primary_device() (diff) | |
thunderbolt: 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: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://patch.msgid.link/1941270.atdPhlSkOF@rafael.j.wysocki
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
