summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fec_ptp.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-07-23 17:06:19 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-27 07:51:53 +0300
commitc0a1a0a698bb0f90ec4719de34f37715abfad8a5 (patch)
treeba5bdb87fb73417b41e54df0523237b3c247d489 /drivers/net/ethernet/freescale/fec_ptp.c
parent42288830494cd51873ca745a7a229023df061226 (diff)
downloadlinux-c0a1a0a698bb0f90ec4719de34f37715abfad8a5.tar.xz
net: fec: use managed DMA API functions to allocate BD ring
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 <l.stach@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_ptp.c')
0 files changed, 0 insertions, 0 deletions