|
@@ -994,6 +994,14 @@ static void eeh_handle_special_event(void)
|
|
|
/* Notify all devices to be down */
|
|
|
eeh_pe_state_clear(pe, EEH_PE_PRI_BUS);
|
|
|
bus = eeh_pe_bus_get(phb_pe);
|
|
|
+ if (!bus) {
|
|
|
+ pr_err("%s: Cannot find PCI bus for "
|
|
|
+ "PHB#%d-PE#%x\n",
|
|
|
+ __func__,
|
|
|
+ pe->phb->global_number,
|
|
|
+ pe->addr);
|
|
|
+ break;
|
|
|
+ }
|
|
|
eeh_pe_dev_traverse(pe,
|
|
|
eeh_report_failure, NULL);
|
|
|
pci_hp_remove_devices(bus);
|