linux/drivers/net/phy
Dan Carpenter be23c4af3d net: mdiobus: get rid of a BUG_ON()
[ Upstream commit 1dde47a66d ]

We spotted a bug recently during a review where a driver was
unregistering a bus that wasn't registered, which would trigger this
BUG_ON().  Let's handle that situation more gracefully, and just print
a warning and return.

Reported-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-16 12:01:36 +02:00
..
mscc net: phy: mscc: adding LCPLL reset to VSC8514 2021-03-04 11:37:35 +01:00
adin.c
amd.c
aquantia_hwmon.c
aquantia_main.c
aquantia.h
at803x.c
ax88796b.c
bcm-cygnus.c
bcm-phy-lib.c net: phy: broadcom: Only advertise EEE for supported modes 2021-04-14 08:42:08 +02:00
bcm-phy-lib.h
bcm7xxx.c net: phy: bcm7xxx: Add an entry for BCM72113 2020-09-21 17:16:17 -07:00
bcm63xx.c
bcm87xx.c
bcm54140.c
bcm84881.c
broadcom.c net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M 2021-03-30 14:32:05 +02:00
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83640_reg.h
dp83640.c
dp83822.c net: phy: introduce phydev->port 2021-03-30 14:32:05 +02:00
dp83848.c
dp83867.c
dp83869.c net: phy: introduce phydev->port 2021-03-30 14:32:05 +02:00
et1011c.c
fixed_phy.c
icplus.c
intel-xway.c net: phy: intel-xway: enable integrated led functions 2021-05-14 09:50:41 +02:00
Kconfig mdio: fix mdio-thunder.c dependency & build error 2020-09-27 13:21:28 -07:00
linkmode.c
lxt.c net: phy: introduce phydev->port 2021-03-30 14:32:05 +02:00
Makefile
marvell.c net: phy: marvell: fix m88e1111_set_downshift 2021-05-14 09:50:42 +02:00
marvell10g.c net: phy: introduce phydev->port 2021-03-30 14:32:05 +02:00
mdio_bus.c net: mdiobus: get rid of a BUG_ON() 2021-06-16 12:01:36 +02:00
mdio_device.c
mdio_devres.c
mdio-boardinfo.c
mdio-boardinfo.h
meson-gxl.c
micrel.c net: phy: introduce phydev->port 2021-03-30 14:32:05 +02:00
microchip_t1.c
microchip.c
mii_timestamper.c
national.c
nxp-tja11xx.c
phy_device.c net: phy: introduce phydev->port 2021-03-30 14:32:05 +02:00
phy_led_triggers.c
phy-c45.c
phy-core.c net: phy: Document core PHY structures 2020-09-23 18:02:49 -07:00
phy.c net: phy: introduce phydev->port 2021-03-30 14:32:05 +02:00
phylink.c net: phylink: Fix phylink_err() function name error in phylink_major_config 2021-03-30 14:31:59 +02:00
qsemi.c
realtek.c net: phy: realtek: support paged operations on RTL8201CP 2020-11-10 16:11:39 -08:00
rockchip.c
sfp-bus.c net: sfp: relax bitrate-derived mode check 2021-04-16 11:43:22 +02:00
sfp.c net: sfp: cope with SFPs that set both LOS normal and LOS inverted 2021-04-16 11:43:22 +02:00
sfp.h
smsc.c net: phy: lan87xx: fix access to wrong register of LAN87xx 2021-05-14 09:50:31 +02:00
spi_ks8995.c net: Use kobj_to_dev() API 2020-09-28 15:14:42 -07:00
ste10Xp.c
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c