u-boot/drivers/net
Marek Vasut 9741795408 net: smc911x: Fix potential memleak() in init fail path
Fix memleak in the init fail path, where if allocation or registration
of MDIO bus fails, then ethernet interface is not unregistered and the
private data are not freed, yet the probe function reports a failure.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
2020-05-01 12:35:21 +02:00
..
fm driver: net: fm: add DM ETH support 2020-04-29 11:10:54 +05:30
fsl-mc drivers: net: fsl-mc: add support for CONFIG_DM_ETH 2020-04-29 11:10:54 +05:30
ldpaa_eth drivers: net: ldpaa: add DTS based probing support 2020-04-29 11:10:43 +05:30
mscc_eswitch dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
pfe_eth dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
phy net: phy: marvell: Unify 88E151x series phy_driver 2020-03-09 18:11:25 -05:00
ti dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
8390.h drivers/net : move net drivers to drivers/net 2007-11-25 18:35:17 +01:00
ag7xxx.c common: Move clock functions into a new file 2020-01-17 13:27:29 -05:00
altera_tse.c dma-mapping: move dma_map_(un)single() to <linux/dma-mapping.h> 2020-02-19 21:27:30 +08:00
altera_tse.h net: altera_tse: add mSG-DMA support 2015-11-12 08:26:59 +08:00
armada100_fec.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
armada100_fec.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
at91_emac.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ax88180.c Remove some merge markers 2016-10-23 18:33:18 -04:00
ax88180.h AX88180: use standard I/O accessors 2010-07-12 00:14:29 -07:00
ax88796.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ax88796.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm-sf2-eth-gmac.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
bcm-sf2-eth-gmac.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm-sf2-eth.c drivers: net: bcm-sf2: pass -1 to phy_connect() 2019-12-20 10:02:23 -06:00
bcm-sf2-eth.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm6348-eth.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
bcm6368-eth.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
bcmgenet.c net: Add support for Broadcom GENETv5 Ethernet controller 2020-01-29 18:30:33 +01:00
calxedaxgmac.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cs8900.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cs8900.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dc2114x.c net: dc2114x: Switch DEBUG_SROM{,2} to debug_cond() 2020-05-01 12:35:21 +02:00
designware.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
designware.h dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
dm9000x.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dm9000x.h dm9000 remove dead external phy support, gpio fix 2008-08-26 23:08:19 -07:00
dnet.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
dnet.h dnet: driver for Dave DNET ethernet controller 2009-02-10 00:16:27 +01:00
dwc_eth_qos.c net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor 2020-05-01 12:35:21 +02:00
dwmac_socfpga.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
e1000.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
e1000.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
e1000_spi.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
eepro100.c net.h: Include linux/if_ether.h to avoid duplication 2018-10-10 12:28:52 -05:00
ep93xx_eth.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ep93xx_eth.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ethoc.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
fec_mxc.c dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
fec_mxc.h dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
fsl_enetc.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
fsl_enetc.h drivers: net: fsl_enetc: Pass on primary MAC address to Linux 2020-01-24 14:28:26 +05:30
fsl_enetc_mdio.c drivers: net: fsl_enetc_mdio: return with time-out if HW is stuck 2019-12-09 09:47:43 -06:00
fsl_ls_mdio.c drivers: net: add Layerscape mEMAC MDIO driver 2020-04-29 10:49:20 +05:30
fsl_mcdmafec.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
fsl_mdio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ftgmac100.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ftgmac100.h net: ftgmac100: use the aligned() macro 2018-11-05 10:41:56 -06:00
ftmac100.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
ftmac100.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ftmac110.c dma-mapping: move dma_map_(un)single() to <linux/dma-mapping.h> 2020-02-19 21:27:30 +08:00
ftmac110.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gmac_rockchip.c net: gmac_rockchip: Add support for rk3308 2019-12-06 00:06:23 +08:00
higmacv300.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
Kconfig drivers: net: add Layerscape mEMAC MDIO driver 2020-04-29 10:49:20 +05:30
ks8851_mll.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ks8851_mll.h net: ks8851_mll: add ethernet support 2013-06-24 19:11:14 -05:00
lan91c96.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
lan91c96.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lpc32xx_eth.c net: lpc32xx: Use IRAM for transmit buffer 2019-04-26 18:58:20 -04:00
macb.c net: macb: Fix incorrect write function name when MACB_ZYNQ is enabled. 2020-03-31 10:06:53 -04:00
macb.h net: macb: add support for faster clk rates 2019-07-25 13:13:30 -05:00
Makefile drivers: net: add Layerscape mEMAC MDIO driver 2020-04-29 10:49:20 +05:30
mcffec.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
mcfmii.c drivers: mcfmii: add dm support 2020-01-10 10:25:13 -05:00
mdio_mux_i2creg.c drivers: net: driver for MDIO muxes controlled over I2C 2019-09-04 11:37:19 -05:00
mdio_mux_sandbox.c test: dm: add a test for MDIO MUX DM uclass 2019-07-18 16:37:13 -05:00
mdio_sandbox.c test: dm_mdio: avoid out of bounds access 2019-09-04 11:37:19 -05:00
mpc8xx_fec.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
mt7628-eth.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
mtk_eth.c eth: mtk-eth: add mt7531 switch support in mediatek eth driver 2020-04-24 10:09:59 -04:00
mtk_eth.h eth: mtk-eth: add mt7531 switch support in mediatek eth driver 2020-04-24 10:09:59 -04:00
mvgbe.c net: mvgbe: fallback phy-mode to GMII 2019-01-24 11:35:29 -06:00
mvgbe.h net: mvgbe: convert to DM 2018-07-26 14:08:21 -05:00
mvmdio.c drivers: net: add marvell MDIO driver 2019-09-04 11:37:19 -05:00
mvneta.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mvpp2.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
natsemi.c net.h: Include linux/if_ether.h to avoid duplication 2018-10-10 12:28:52 -05:00
ne2000.c net: Use ARRAY_SIZE at appropriate places 2013-08-19 12:34:18 -05:00
ne2000.h NE2000: Fix regresssion introduced by e710185aae on non AX88796 2008-04-28 22:26:36 -07:00
ne2000_base.c Drop PCMCIA 2019-08-11 19:27:41 -04:00
ne2000_base.h Consolidate bool type 2013-04-01 16:33:52 -04:00
netconsole.c env: Move get_env_id() to env.h 2019-08-11 16:43:41 -04:00
ns8382x.c net.h: Include linux/if_ether.h to avoid duplication 2018-10-10 12:28:52 -05:00
pch_gbe.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
pch_gbe.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pcnet.c net: pcnet: Switch to PCI memory access 2020-05-01 12:35:21 +02:00
pic32_eth.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
pic32_eth.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pic32_mdio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ravb.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
rtl8139.c net: rtl8139: Fill in SPDX tag 2020-05-01 12:35:21 +02:00
rtl8169.c net: rtl8169: Support RTL-8168c/8111c 2019-12-09 09:47:42 -06:00
sandbox-raw-bus.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
sandbox-raw.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
sandbox.c regmap: fix regmap_read_poll_timeout warning about sandbox_timer_add_offset 2019-04-23 11:17:15 +02:00
sh_eth.c net: sh_eth: Init the hardware before PHY access 2020-04-04 15:06:37 +02:00
sh_eth.h net: sh_eth: Fix 64bit build warnings 2019-08-09 23:15:01 +02:00
smc911x.c net: smc911x: Fix potential memleak() in init fail path 2020-05-01 12:35:21 +02:00
smc911x.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
smc91111.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
smc91111.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sni_ave.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
sun8i_emac.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
sunxi_emac.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
tsec.c net: tsec: Change compatible strings to match Linux 2019-07-25 13:13:31 -05:00
uli526x.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vsc7385.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
vsc9953.c drivers/net/vsc9953: Initialize action RAM in VCAP complex 2018-06-13 13:54:16 -05:00
xilinx_axi_emac.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
xilinx_emaclite.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zynq_gem.c net: zynq-gem: Setup and use mdio base separately 2020-04-06 12:52:45 +02:00