| Submitter | Kenji Kaneshige |
|---|---|
| Date | 2009-10-05 08:43:29 |
| Message ID | <4AC9B1B1.2050305@jp.fujitsu.com> |
| Download | mbox | patch |
| Permalink | /patch/51710/ |
| State | Accepted |
| Headers | show |
Comments
Patch
Index: linux-2.6.32-rc3/drivers/pci/hotplug/pciehp_core.c =================================================================== --- linux-2.6.32-rc3.orig/drivers/pci/hotplug/pciehp_core.c +++ linux-2.6.32-rc3/drivers/pci/hotplug/pciehp_core.c @@ -285,7 +285,7 @@ static int pciehp_probe(struct pcie_devi 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 */
Fix typo that might cause memory leak in pciehp_probe(). Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> --- drivers/pci/hotplug/pciehp_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html