Skip to content
Snippets Groups Projects
Commit 65b947bc authored by Kenji Kaneshige's avatar Kenji Kaneshige Committed by Jesse Barnes
Browse files

PCI: pciehp: fix typo in pciehp_probe


Fix typo that might cause memory leak in pciehp_probe().

Signed-off-by: default avatarKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 445f7985
No related branches found
No related tags found
No related merge requests found
......@@ -285,7 +285,7 @@ static int pciehp_probe(struct pcie_device *dev)
rc = pcie_init_notification(ctrl);
if (rc) {
ctrl_err(ctrl, "Notification initialization failed\n");
goto err_out_release_ctlr;
goto err_out_free_ctrl_slot;
}
/* Check if slot is occupied */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment