SEARCH  

NEWS

2010.10.06:11:36:28
Apple zapłaci 625,5 mln USD za naruszenie patentów?
Sąd uznał winę firmy Stevea Jobsa i nakazał jej wypłatę ogromnego odszkodowania. Ta jednak uważa, że racja jest po jej stronie i zapowiada dalszą walkę.

 

messageID:522560007944
author:Rafael J Wysocki
title: PATCH PCIe portdrv eliminate double kfree
Commit 55633af3 (PCIe portdrv: Use driver data to simplify code) added a kfree of the driver private data in pcie_port_device_remove but forgot to remove the old kfree from pcie_portdrv_remove. Signed-off-by: Alex Chiang <achiang@xxxxxx --- diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c index a6fee6c..f2368b1 100644 --- a/drivers/pci/pcie/portdrv_pci.c +++ b/drivers/pci/pcie/portdrv_pci.c @@ -93,7 +93,6 @@ static int __devinit pcie_portdrv_probe (struct pci_dev *dev, static void pcie_portdrv_remove (struct pci_dev *dev) { pcie_port_device_remove(dev); - kfree(pci_get_drvdata(dev)); } static int error_detected_iter(struct device *device, void *data) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at rel="nofollow" vger.kernel.org/majordomo-info.html vger.kernel.org/majordomo-info.html
Index