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

2015-07-26 Thread David Miller
From: Lucas Stach Date: Thu, 23 Jul 2015 16:06:19 +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 > --- > v2: Fix indentation of second line to fix alignment with opening bracket.

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

2015-07-23 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 --- v2: Fix indentation of second line to fix alignment with opening bracket. --- drivers/net/ethernet/freescale/fec_main.c | 4 ++-- 1 file changed