1
linux/drivers/net/stmmac
Dan Carpenter 34a52f363a stmmac: unwind properly in stmmac_dvr_probe()
The original code had a several problems:
*) It had potential null dereferences of "priv" and "res".
*) It released the memory region before it was aquired.
*) It didn't free "ndev" after it was allocated.
*) It didn't call unregister_netdev() after calling stmmac_probe().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-21 10:53:19 -08:00
..
common.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
descs.h
dwmac100_core.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac100_dma.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac100.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000_core.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000_dma.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac_dma.h
dwmac_lib.c
enh_desc.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
Kconfig drivers/net/stmmac/: add HAS_IOMEM dependency 2010-10-06 23:42:43 -07:00
Makefile
norm_desc.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
stmmac_ethtool.c net: Fix too optimistic NETIF_F_HW_CSUM features 2010-12-06 12:59:04 -08:00
stmmac_main.c stmmac: unwind properly in stmmac_dvr_probe() 2010-12-21 10:53:19 -08:00
stmmac_mdio.c stmmac: tidy-up stmmac_priv structure 2010-11-24 11:14:24 -08:00
stmmac_timer.c
stmmac_timer.h
stmmac.h stmmac: update the driver version 2010-11-24 11:14:25 -08:00