|
@@ -220,6 +220,8 @@ void pcistub_put_pci_dev(struct pci_dev *dev)
|
|
}
|
|
}
|
|
|
|
|
|
spin_unlock_irqrestore(&pcistub_devices_lock, flags);
|
|
spin_unlock_irqrestore(&pcistub_devices_lock, flags);
|
|
|
|
+ if (WARN_ON(!found_psdev))
|
|
|
|
+ return;
|
|
|
|
|
|
/*hold this lock for avoiding breaking link between
|
|
/*hold this lock for avoiding breaking link between
|
|
* pcistub and xen_pcibk when AER is in processing
|
|
* pcistub and xen_pcibk when AER is in processing
|