The patch titled fix memory leak in dma_declare_coherent_memory() has been removed from the -mm tree. Its filename was fix-memory-leak-dma_declare_coherent_memory.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: fix memory leak in dma_declare_coherent_memory() From: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> When it goes to free1_out, dev->dma_mem has not been freed. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/cris/arch-v32/drivers/pci/dma.c | 2 +- arch/i386/kernel/pci-dma.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/cris/arch-v32/drivers/pci/dma.c~fix-memory-leak-dma_declare_coherent_memory arch/cris/arch-v32/drivers/pci/dma.c --- a/arch/cris/arch-v32/drivers/pci/dma.c~fix-memory-leak-dma_declare_coherent_memory +++ a/arch/cris/arch-v32/drivers/pci/dma.c @@ -111,7 +111,7 @@ int dma_declare_coherent_memory(struct d return DMA_MEMORY_IO; free1_out: - kfree(dev->dma_mem->bitmap); + kfree(dev->dma_mem); out: return 0; } diff -puN arch/i386/kernel/pci-dma.c~fix-memory-leak-dma_declare_coherent_memory arch/i386/kernel/pci-dma.c --- a/arch/i386/kernel/pci-dma.c~fix-memory-leak-dma_declare_coherent_memory +++ a/arch/i386/kernel/pci-dma.c @@ -110,7 +110,7 @@ int dma_declare_coherent_memory(struct d return DMA_MEMORY_IO; free1_out: - kfree(dev->dma_mem->bitmap); + kfree(dev->dma_mem); out: if (mem_base) iounmap(mem_base); _ Patches currently in -mm which might be from yoichi_yuasa@xxxxxxxxxxxxxx are origin.patch git-input.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