linux/drivers/net/phy
Marek Behún 11191406f2 net: sfp: ignore disabled SFP node
commit 2148927e6e upstream.

Commit ce0aa27ff3 ("sfp: add sfp-bus to bridge between network devices
and sfp cages") added code which finds SFP bus DT node even if the node
is disabled with status = "disabled". Because of this, when phylink is
created, it ends with non-null .sfp_bus member, even though the SFP
module is not probed (because the node is disabled).

We need to ignore disabled SFP bus node.

Fixes: ce0aa27ff3 ("sfp: add sfp-bus to bridge between network devices and sfp cages")
Signed-off-by: Marek Behún <kabel@kernel.org>
Cc: stable@vger.kernel.org # 2203cbf2c8 ("net: sfp: move fwnode parsing into sfp-bus layer")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-01 17:25:38 +01:00
..
mscc net: phy: mscc: fix macsec key length 2021-07-14 16:56:28 +02:00
adin.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
amd.c
aquantia_hwmon.c
aquantia_main.c
aquantia.h
at803x.c net: phy: at803x: constify static regulator_ops 2020-08-26 16:21:17 -07:00
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: Fixed indirect MMD operations 2021-10-06 15:55:58 +02: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 ptp: dp83640: don't define PAGE0 2021-09-22 12:27:56 +02:00
dp83640.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-09-04 21:28:59 -07:00
dp83822.c net: phy: Fix data type in DP83822 dp8382x_disable_wol() 2021-09-18 13:40:18 +02:00
dp83848.c
dp83867.c net: phy: dp83867: perform soft reset and retain established link 2021-06-30 08:47:21 -04:00
dp83869.c net: phy: introduce phydev->port 2021-03-30 14:32:05 +02:00
et1011c.c
fixed_phy.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
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 net: phy: Sort Kconfig and Makefile 2020-08-27 06:55:51 -07:00
marvell.c net: phy: marvell: configure RGMII delays for 88E1118 2022-01-27 10:54:20 +01:00
marvell10g.c net: phy: introduce phydev->port 2021-03-30 14:32:05 +02:00
mdio_bus.c net: mdio: Demote probed message to debug print 2022-01-27 10:54:19 +01:00
mdio_device.c net: mdio: introduce a shutdown method to mdio device drivers 2021-10-09 14:40:56 +02:00
mdio_devres.c
mdio-boardinfo.c
mdio-boardinfo.h
meson-gxl.c
micrel.c phy: micrel: ksz8041nl: do not use power down mode 2021-11-18 14:04:09 +01: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: prefer 1000baseT over 1000baseKX 2022-01-27 10:54:15 +01:00
phy.c net: phy: fix duplex out of sync problem while changing settings 2021-11-18 14:04:26 +01:00
phylink.c net: phylink: Force retrigger in case of latched link-fail indicator 2021-12-01 09:19:07 +01:00
qsemi.c
realtek.c net: phy: realtek: add delay to fix RXC generation issue 2021-07-19 09:44:49 +02:00
rockchip.c
sfp-bus.c net: sfp: ignore disabled SFP node 2022-02-01 17:25:38 +01:00
sfp.c net: sfp: fix high power modules without diagnostic monitoring 2022-01-27 10:54:35 +01: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