Re: [PATCH 1/2] net: fec: use managed DMA API functions to allocate BD ring

2015-07-21 Thread David Miller
From: Lucas Stach Date: Mon, 20 Jul 2015 15:51:37 +0200 > So it gets freed when the device is going away. > This fixes a DMA memory leak on driver probe() fail and driver > remove(). > > Signed-off-by: Lucas Stach > --- > drivers/net/ethernet/freescale/fec_main.c | 2 +- > 1 file changed, 1 in

[PATCH 1/2] net: fec: use managed DMA API functions to allocate BD ring

2015-07-20 Thread Lucas Stach
So it gets freed when the device is going away. This fixes a DMA memory leak on driver probe() fail and driver remove(). Signed-off-by: Lucas Stach --- drivers/net/ethernet/freescale/fec_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/fec