v2--->v3 1��find the pci_ops of nearest parent bus in patch 1; 2��introduce pci_bus_ops_get to avoid race condition window in aer_inject_exit; 3��scan the root bus for cleaning untracked pci_ops_aer instead of scan all pci bus as Huang Ying suggestion; 4��remove unused code pci_bus_ops_pop; Yijing Wang (6): PCI/AER: fix pci_ops return NULL when hotplug a pci bus doing aer error inject PCI/AER: introduce pci_bus_ops_get() function to avoid a small race condition window PCI/AER: clean all untracked pci_ops_aer when rmmod aer_inject PCI/AER: clean pci_bus_ops when related pci bus was removed PCI/AER: introduce pci_bus_ops_free to free pci_bus_ops PCI/AER: clean unused code pci_bus_ops_pop drivers/pci/pcie/aer/aer_inject.c | 149 ++++++++++++++++++++++++++++++++----- 1 files changed, 131 insertions(+), 18 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html