The patch titled PCIe portdrv: eliminate double kfree in remove path has been added to the -mm tree. Its filename is pcie-portdrv-eliminate-double-kfree-in-remove-path.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: PCIe portdrv: eliminate double kfree in remove path From: Alex Chiang <achiang@xxxxxx> 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> Acked-by: Rafael J. Wysocki <rjw@xxxxxxx> Cc: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> Cc: Matthew Wilcox <matthew@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/pci/pcie/portdrv_pci.c | 1 - 1 file changed, 1 deletion(-) diff -puN drivers/pci/pcie/portdrv_pci.c~pcie-portdrv-eliminate-double-kfree-in-remove-path drivers/pci/pcie/portdrv_pci.c --- a/drivers/pci/pcie/portdrv_pci.c~pcie-portdrv-eliminate-double-kfree-in-remove-path +++ a/drivers/pci/pcie/portdrv_pci.c @@ -93,7 +93,6 @@ static int __devinit pcie_portdrv_probe 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) _ Patches currently in -mm which might be from achiang@xxxxxx are linux-next.patch pcie-portdrv-eliminate-double-kfree-in-remove-path.patch pcie-aer-during-disable-check-subordinate-before-walking.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html