Skip to content
Commit c0a1a0a6 authored by Lucas Stach's avatar Lucas Stach Committed by David S. Miller
Browse files

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: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 42288830
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment