summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-21 21:52:32 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-22 19:29:25 +0200
commit7df0f9ee9c5a1aa70b9b34ec719324d2961cb7a7 (patch)
tree24605b4fd67777783e00c132f65e2ac7c7f14a64 /tools/perf/scripts/python
parentec6bb46cf5f70b7df2b2d87bc3a7fbe55f60abc2 (diff)
ALSA: hda: aw88399: 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: Marco Giunta <marco_giunta@outlook.it> Link: https://patch.msgid.link/2568518.jE0xQCEvom@rafael.j.wysocki
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions