Re: [PATCH -next] net: macb: add missing free_netdev() on error in macb_probe()

2016-08-14 Thread David Miller
From: Wei Yongjun Date: Fri, 12 Aug 2016 15:43:54 + > 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 Applie

[PATCH -next] net: macb: add missing free_netdev() on error in macb_probe()

2016-08-12 Thread Wei Yongjun
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 --- drivers/net/ethernet/cadence/macb.c | 2 +- 1 file changed, 1 insertio