kernel_samsung_a53x/drivers/net/phy
Christophe JAILLET 5f86c38ebf net: phy: bcm84881: Fix some error handling paths
[ Upstream commit 9234a2549cb6ac038bec36cc7c084218e9575513 ]

If phy_read_mmd() fails, the error code stored in 'bmsr' should be returned
instead of 'val' which is likely to be 0.

Fixes: 75f4d8d10e01 ("net: phy: add Broadcom BCM84881 PHY driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/3e1755b0c40340d00e089d6adae5bca2f8c79e53.1727982168.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:51 +01:00
..
mscc net: phy: mscc: macsec: reject PN update requests 2024-11-08 11:25:46 +01:00
adin.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aquantia.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aquantia_hwmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aquantia_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
at803x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ax88796b.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-cygnus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-phy-lib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm-phy-lib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm7xxx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm63xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm87xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm54140.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm84881.c net: phy: bcm84881: Fix some error handling paths 2024-11-23 23:21:51 +01:00
broadcom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cicada.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cortina.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
davicom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83tc811.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83640.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83640_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83822.c net: phy: dp83822: Fix RGMII TX delay configuration 2024-11-19 08:44:49 +01:00
dp83848.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83867.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp83869.c net: phy: dp83869: fix memory corruption when enabling fiber 2024-11-23 23:21:51 +01:00
et1011c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixed_phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
icplus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-xway.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
linkmode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lxt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
marvell.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
marvell10g.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio-boardinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio-boardinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio_bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio_device.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mdio_devres.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
meson-gxl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
micrel.c net: phy: micrel: add Microchip KSZ 9477 to the device table 2024-11-19 14:19:31 +01:00
microchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
microchip_t1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mii_timestamper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
national.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nxp-tja11xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-c45.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy_device.c net: phy: fix phy_get_internal_delay accessing an empty array 2024-11-19 08:44:49 +01:00
phy_led_triggers.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phylink.c net: phylink: initialize carrier state at creation 2024-11-18 11:43:30 +01:00
qsemi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
realtek.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sfp-bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sfp.c net: sfp: Always call sfp_sm_mod_remove() on remove 2024-11-19 14:19:03 +01:00
sfp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smsc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spi_ks8995.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ste10Xp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
swphy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
swphy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
teranetics.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uPD60620.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vitesse.c net: phy: vitesse: repair vsc73xx autonegotiation 2024-11-23 23:21:10 +01:00
xilinx_gmii2rgmii.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00