linux-uconsole/drivers/net/phy
Christophe JAILLET f49e50f830 mdio-sun4i: Fix a memory leak
[ Upstream commit 56c0290202 ]

If the probing of the regulator is deferred, the memory allocated by
'mdiobus_alloc_size()' will be leaking.
It should be freed before the next call to 'sun4i_mdio_probe()' which will
reallocate it.

Fixes: 4bdcb1dd9f ("net: Add MDIO bus driver for the Allwinner EMAC")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-03 10:19:45 +01:00
..
amd.c
aquantia.c
at803x.c net: phy: at803x: Change error to EINVAL for invalid MAC 2017-12-25 14:22:14 +01:00
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
bcm7xxx.c
bcm63xx.c net: phy: bcm63xx: Utilize correct config_intr function 2017-02-04 09:45:09 +01:00
bcm87xx.c
broadcom.c
cicada.c
davicom.c
dp83640.c net: dp83640: Avoid NULL pointer dereference. 2017-07-21 07:44:54 +02:00
dp83640_reg.h
dp83848.c
dp83867.c net: phy: dp83867: fix irq generation 2017-08-11 09:08:56 -07:00
et1011c.c
fixed_phy.c
icplus.c
Kconfig
lxt.c
Makefile
marvell.c net: phy: fix marvell phy status reading 2017-06-29 12:48:53 +02:00
mdio-bcm-iproc.c net: phy: Initialize mdio clock at probe function 2017-06-29 12:48:53 +02:00
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-gpio.c
mdio-moxart.c
mdio-mux-gpio.c
mdio-mux-mmioreg.c
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c mdio-sun4i: Fix a memory leak 2018-03-03 10:19:45 +01:00
mdio_bus.c
micrel.c net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround 2018-01-02 20:33:26 +01:00
microchip.c
national.c
phy.c Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()" 2017-09-27 11:00:11 +02:00
phy_device.c net: phy: Fix PHY unbind crash 2017-08-11 09:08:55 -07:00
qsemi.c
realtek.c
smsc.c
spi_ks8995.c spi_ks8995: fix "BUG: key accdaa28 not in .data!" 2017-12-16 10:33:53 +01:00
ste10Xp.c
teranetics.c
vitesse.c