Files
linux-apfs/drivers/acpi
Rafael J. Wysocki f516bde512 ACPI / PCI root: Clear driver_data before failing enumeration
If a PCI host bridge cannot be enumerated due to an error in
pci_acpi_scan_root(), its ACPI device object's driver_data field
has to be cleared by acpi_pci_root_add() before freeing the
object pointed to by that field, or some later acpi_pci_find_root()
checks that should fail may succeed and cause quite a bit of
confusion to ensue.

Fix acpi_pci_root_add() to clear device->driver_data before
returning an error code as appropriate.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
2013-11-19 01:04:01 +01:00
..
2013-08-27 01:29:04 +02:00
2013-08-27 01:29:04 +02:00
2013-04-28 01:54:08 +02:00
2013-08-30 14:13:50 +02:00
2013-08-23 10:22:29 +02:00
2013-08-27 01:28:17 +02:00
2013-08-27 01:29:04 +02:00
2013-01-17 14:11:06 +01:00
2013-08-30 14:13:50 +02:00
2013-08-27 01:25:28 +02:00
2013-08-27 01:40:40 +02:00