diff options
-rw-r--r-- | drivers/pci/pcie/aer/aer_inject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/aer/aer_inject.c b/drivers/pci/pcie/aer/aer_inject.c index da2ad6eaee17..2246bf7aee7e 100644 --- a/drivers/pci/pcie/aer/aer_inject.c +++ b/drivers/pci/pcie/aer/aer_inject.c | |||
@@ -474,7 +474,7 @@ static void __exit aer_inject_exit(void) | |||
474 | } | 474 | } |
475 | 475 | ||
476 | spin_lock_irqsave(&inject_lock, flags); | 476 | spin_lock_irqsave(&inject_lock, flags); |
477 | list_for_each_entry_safe(err, err_next, &pci_bus_ops_list, list) { | 477 | list_for_each_entry_safe(err, err_next, &einjected, list) { |
478 | list_del(&err->list); | 478 | list_del(&err->list); |
479 | kfree(err); | 479 | kfree(err); |
480 | } | 480 | } |