linux_dsm_epyc7002/drivers/net/ethernet/stmicro/stmmac
Alexey Khoroshilov 4f463855c7 stmmac: don't return zero on failure path in stmmac_pci_probe()
If stmmac_dvr_probe() fails in stmmac_pci_probe(), it breaks off initialization,
deallocates all resources, but returns zero.
The patch adds -ENODEV as return value in this case.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-02-03 16:14:09 -05:00
..
chain_mode.c stmmac: add CHAINED descriptor mode support (V4) 2011-10-19 19:24:18 -04:00
common.h stmmac: add Rx watchdog support to mitigate the DMA irqs 2012-11-26 17:22:12 -05:00
descs_com.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
descs.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac100_core.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac100_dma.c stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac100.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac1000_core.c stmmac: add the Energy Efficient Ethernet support 2012-07-01 03:34:50 -07:00
dwmac1000_dma.c stmmac: add Rx watchdog support to mitigate the DMA irqs 2012-11-26 17:22:12 -05:00
dwmac1000.h stmmac: add Rx watchdog support to mitigate the DMA irqs 2012-11-26 17:22:12 -05:00
dwmac_dma.h stmmac: remove two repeated macros 2012-12-03 13:35:36 -05:00
dwmac_lib.c stmmac: add Rx watchdog support to mitigate the DMA irqs 2012-11-26 17:22:12 -05:00
enh_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
Kconfig stmmac: remove dead code for STMMAC_TIMER support 2012-11-26 17:22:10 -05:00
Makefile stmmac: remove dead code for STMMAC_TIMER support 2012-11-26 17:22:10 -05:00
mmc_core.c stmmac: fix a typo in the macro used to mask the mmc irq 2012-08-22 19:14:31 -07:00
mmc.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
norm_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
ring_mode.c stmmac: Fix for higher mtu size handling 2012-07-09 14:37:52 -07:00
stmmac_ethtool.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
stmmac_main.c net: phy: remove flags argument from phy_{attach, connect, connect_direct} 2013-01-14 15:11:50 -05:00
stmmac_mdio.c net:stmmac: Remove bus_id from mdio platform data. 2012-08-31 16:11:28 -04:00
stmmac_pci.c stmmac: don't return zero on failure path in stmmac_pci_probe() 2013-02-03 16:14:09 -05:00
stmmac_platform.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
stmmac.h stmmac: fix platform driver unregistering 2012-12-14 13:14:07 -05:00