summaryrefslogtreecommitdiff
path: root/include/linux/zstd_errors.h
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-09-25 23:58:46 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-10-12 17:33:52 +0200
commit691c33289b4d7a50b6fe1e03918bfbc21d4641c5 (patch)
tree0e5a3ea4a0ec0f3c4afa2013d90f34200d3846ad /include/linux/zstd_errors.h
parent24a19b953e2a3d0ea5a8c4951a0ab8f32720c907 (diff)
ACPI: PCI: pci_link: clear driver_data before free
acpi_pci_link_remove() frees the link object without clearing the ACPI device's driver_data pointer. The ACPI device survives hot-removal and can later be retrieved by acpi_fetch_acpi_dev(), leaving callers with a dangling pointer. Clear driver_data before freeing the link. Fixes: db89b4f0dbab ("ACPI: catch calls of acpi_driver_data on pointer of wrong type") Signed-off-by: Jiale Yao <yaojiale02@163.com> [ rjw: Subject tweak ] Link: https://patch.msgid.link/20260925155846.2381956-1-yaojiale02@163.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions