mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
net: axienet: Fix probe error cleanup
[ Upstream commit59cd4f1926] The driver did not always clean up all allocated resources when probe failed. Fix the probe cleanup path to clean up everything that was allocated. Fixes:57baf8cc70("net: axienet: Handle deferred probe on clock properly") Signed-off-by: Robert Hancock <robert.hancock@calian.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
3e08fd4a82
commit
c4934e65c8
1 changed files with 24 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue