linux/drivers/net/mdio
Christophe JAILLET a93a0a1587 net: mdio: thunder: Fix a double free issue in the .remove function
'bus->mii_bus' have been allocated with 'devm_mdiobus_alloc_size()' in the
probe function. So it must not be freed explicitly or there will be a
double free.

Remove the incorrect 'mdiobus_free' in the remove function.

Fixes: 379d7ac7ca ("phy: mdio-thunder: Add driver for Cavium Thunder SoC MDIO buses.")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-05-13 13:13:34 -07:00
..
Kconfig net: mdio: Add BCM6368 MDIO mux bus controller 2021-03-16 11:52:18 -07:00
Makefile net: mdio: Add BCM6368 MDIO mux bus controller 2021-03-16 11:52:18 -07:00
mdio-aspeed.c
mdio-bcm-iproc.c
mdio-bcm-unimac.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-bitbang.c net: phy: Add support for microchip SMI0 MDIO bus 2021-04-27 14:13:24 -07:00
mdio-cavium.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-cavium.h
mdio-gpio.c net: phy: Add support for microchip SMI0 MDIO bus 2021-04-27 14:13:24 -07:00
mdio-hisi-femac.c
mdio-i2c.c
mdio-ipq4019.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-ipq8064.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-moxart.c net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPT 2021-02-15 15:20:49 -08:00
mdio-mscc-miim.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mux-bcm6368.c net: mdio: Add BCM6368 MDIO mux bus controller 2021-03-16 11:52:18 -07:00
mdio-mux-bcm-iproc.c net: mdio: Remove redundant dev_err call in mdio_mux_iproc_probe() 2021-03-29 13:16:44 -07:00
mdio-mux-gpio.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mux-meson-g12a.c
mdio-mux-mmioreg.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mux-multiplexer.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mux.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mvusb.c
mdio-octeon.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-sun4i.c
mdio-thunder.c net: mdio: thunder: Fix a double free issue in the .remove function 2021-05-13 13:13:34 -07:00
mdio-xgene.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
of_mdio.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00