aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r--drivers/pci/hotplug/pciehp_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c
index d19f87594df4..e1b29a59032b 100644
--- a/drivers/pci/hotplug/pciehp_core.c
+++ b/drivers/pci/hotplug/pciehp_core.c
@@ -285,7 +285,7 @@ static int pciehp_probe(struct pcie_device *dev)
285 rc = pcie_init_notification(ctrl); 285 rc = pcie_init_notification(ctrl);
286 if (rc) { 286 if (rc) {
287 ctrl_err(ctrl, "Notification initialization failed\n"); 287 ctrl_err(ctrl, "Notification initialization failed\n");
288 goto err_out_release_ctlr; 288 goto err_out_free_ctrl_slot;
289 } 289 }
290 290
291 /* Check if slot is occupied */ 291 /* Check if slot is occupied */