diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-12 15:43:54 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:27 +0200 |
commit | ae2326b512eb940cf14e4d40c7d7a1da483d20d0 (patch) | |
tree | 8465a570217b3351ff481eb9f42ae770aae64050 /net/ipv6/icmp.c | |
parent | 105f12ad444ba07f3a9ebce2d798718f2bd3f2bd (diff) |
net: macb: add missing free_netdev() on error in macb_probe()
commit b22ae0b4d9669495158a7fa0fd027bd0fcd8896e upstream.
Add the missing free_netdev() before return from function macb_probe()
in the platform_get_irq() error handling case.
Fixes: c69618b3e4f2 ("net/macb: fix probe sequence to setup clocks earlier")
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/icmp.c')
0 files changed, 0 insertions, 0 deletions