mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
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:
commit
908ccdf5e3
|
|
@ -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(¬e->device->dev),
|
||||
acpi_bus_generate_netlink_event("", dev_name(¬e->device->dev),
|
||||
note->event, detail);
|
||||
} else
|
||||
note->event = event;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user