diff options
-rw-r--r-- | arch/s390/pci/pci_event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/pci/pci_event.c b/arch/s390/pci/pci_event.c index 228787a3630a..65ea105f68a1 100644 --- a/arch/s390/pci/pci_event.c +++ b/arch/s390/pci/pci_event.c | |||
@@ -112,6 +112,8 @@ static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf) | |||
112 | clp_rescan_pci_devices(); | 112 | clp_rescan_pci_devices(); |
113 | break; | 113 | break; |
114 | case 0x0308: /* Standby -> Reserved */ | 114 | case 0x0308: /* Standby -> Reserved */ |
115 | if (!zdev) | ||
116 | break; | ||
115 | pci_stop_root_bus(zdev->bus); | 117 | pci_stop_root_bus(zdev->bus); |
116 | pci_remove_root_bus(zdev->bus); | 118 | pci_remove_root_bus(zdev->bus); |
117 | break; | 119 | break; |