diff options
author | Robert Hancock <robert.hancock@calian.com> | 2021-03-11 23:05:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-30 15:32:05 +0300 |
commit | c4934e65c8bc06c84d79c1c8fa59d6e54ab0faee (patch) | |
tree | 5177c63242b8219db4f63f462792159cadb5cd1e /include/asm-generic/qspinlock.h | |
parent | 3e08fd4a82986f200baa77312b1f248bb567b04e (diff) | |
download | linux-c4934e65c8bc06c84d79c1c8fa59d6e54ab0faee.tar.xz |
net: axienet: Fix probe error cleanup
[ Upstream commit 59cd4f19267a0aab87a8c07e4426eb7187ee548d ]
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: 57baf8cc70ea ("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>
Diffstat (limited to 'include/asm-generic/qspinlock.h')
0 files changed, 0 insertions, 0 deletions