ac26692f7c
[ Upstream commit bca9749b1aa23d964d3ab930938af66dbf887f15 ]
If try_toggle_control_gpio() failed in smc_drv_probe(), free_netdev(ndev)
should be called to free the ndev created earlier. Otherwise, a memleak
will occur.
Fixes:
|
||
---|---|---|
.. | ||
epic100.c | ||
Kconfig | ||
Makefile | ||
smc91c92_cs.c | ||
smc91x.c | ||
smc91x.h | ||
smc911x.c | ||
smc911x.h | ||
smc9194.c | ||
smc9194.h | ||
smsc911x.c | ||
smsc911x.h | ||
smsc9420.c | ||
smsc9420.h |