edma: free the same memory twice
PATCH 1/1 edma: free the same memory twice
From: Andrew Liu <[email protected]>
Signed-off-by Andrew Liu <[email protected]>
--- drivers/dma/edma.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/dma/edma.c +0 -1
@@ -305,7 +305,6 @@ static struct dma_async_tx_descriptor *edma_prep_slave_sg(edma_alloc_slot (EDMA_CTLR (echan->ch_num),EDMA_SLOT_ANY );if (echan->slot[i] <0 ) { -kfree (edesc);dev_err (dev,"Failed to allocate slot\n" );kfree (edesc);return NULL ;
Signature · 1 line
1.7.9
Quoted 3 lines · On Sat, Nov 23, 2013 at 12:54:03AM +0800, [email protected] wrote:
From: Andrew Liu <[email protected]>
Signed-off-by Andrew Liu <[email protected]>
This is already fixed in Linus tree via commit commit b6d5050
--
~Vinod
Quoted 19 lines
--- drivers/dma/edma.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)drivers/dma/edma.c +0
-1@@ -305,7 +305,6 @@ static struct dma_async_tx_descriptor *edma_prep_slave_sg(edma_alloc_slot (EDMA_CTLR (echan->ch_num),EDMA_SLOT_ANY );if (echan->slot[i] <0 ) { -kfree (edesc);dev_err (dev,"Failed to allocate slot\n" );kfree (edesc);return NULL ;Signature · 1 line
1.7.9