Gitweb: http://git.kernel.org/linus/65b947bc5f32d8d4fe1f925a6146a4088d5466f3 Commit: 65b947bc5f32d8d4fe1f925a6146a4088d5466f3 Parent: 445f798555e218a5601222ca5849e8553ddd866a Author: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> AuthorDate: Mon Oct 5 17:43:29 2009 +0900 Committer: Jesse Barnes <jbarnes@virtuousgeek.org> CommitDate: Wed Nov 4 09:02:13 2009 -0800 PCI: pciehp: fix typo in pciehp_probe Fix typo that might cause memory leak in pciehp_probe(). Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> --- drivers/pci/hotplug/pciehp_core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c index d19f875..e1b29a5 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) 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 */ -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
