Merge branch 'pci/hotplug'

- Pass empty string, not an uninitialized device_class string, to
  acpi_bus_generate_netlink_event(), so we can remove device_class
  completely in the future (Rafael J. Wysocki)

* pci/hotplug:
  PCI: acpiphp_ibm: Do not use uninitialized device_class
This commit is contained in:
Bjorn Helgaas 2026-08-21 16:40:35 -05:00
commit 908ccdf5e3

View File

@ -258,8 +258,7 @@ static void ibm_handle_events(acpi_handle handle, u32 event, void *context)
if (subevent == 0x80) {
pr_debug("%s: generating bus event\n", __func__);
acpi_bus_generate_netlink_event(note->device->pnp.device_class,
dev_name(&note->device->dev),
acpi_bus_generate_netlink_event("", dev_name(&note->device->dev),
note->event, detail);
} else
note->event = event;