commit | b22ae0b4d9669495158a7fa0fd027bd0fcd8896e | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyj.lk@gmail.com> | Fri Aug 12 15:43:54 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 14 21:23:42 2016 -0700 |
tree | 90388a04cfc7b09170afd823a7912c0c0dc22111 | |
parent | 02ee9b18dedf1d72afa0fbfb0d7c15f6b4904a07 [diff] |
net: macb: add missing free_netdev() on error in macb_probe() 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>