linux/drivers/net/phy
Wan Jiabing 12a4d677b1 net: phy: micrel: Fix incorrect variable type in micrel
In lanphy_read_page_reg, calling __phy_read() might return a negative
error code. Use 'int' to check the error code.

Fixes: 7c2dcfa295 ("net: phy: micrel: Add support for LAN8804 PHY")
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220509144519.2343399-1-wanjiabing@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-05-10 15:18:13 -07:00
..
mscc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-17 13:56:58 -07:00
adin.c
amd.c
aquantia_hwmon.c
aquantia_main.c phy: make phy_set_max_speed() *void* 2022-01-31 11:30:56 +00:00
aquantia.h
at803x.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-03 17:36:16 -08:00
ax88796b.c
bcm7xxx.c
bcm63xx.c
bcm87xx.c
bcm54140.c
bcm84881.c
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
broadcom.c net: phy: broadcom: Fix brcm_fet_config_init() 2022-03-25 16:59:21 -07:00
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83640_reg.h
dp83640.c dp83640: Use generic ptp_msg_is_sync() function 2022-03-07 11:31:34 +00:00
dp83822.c net: phy: DP83822: clear MISR2 register to disable interrupts 2022-03-10 12:24:40 -08:00
dp83848.c
dp83867.c
dp83869.c
et1011c.c
fixed_phy.c Revert "net: phy: fixed_phy: Fix NULL vs IS_ERR() checking in __fixed_phy_register" 2022-01-03 18:59:16 -08:00
icplus.c
intel-xway.c
Kconfig net: phy: Kconfig: micrel_phy: fix dependency issue 2022-03-15 12:28:56 +01:00
linkmode.c
lxt.c
Makefile
marvell10g.c net: phy: marvell10g: fix return value on error 2022-04-26 11:46:18 +02:00
marvell-88x2222.c
marvell.c net: phy: marvell: Fix invalid comparison in the resume and suspend functions 2022-03-14 15:08:37 -07:00
mdio_bus.c net: mdio: Demote probed message to debug print 2022-01-03 19:05:39 -08:00
mdio_device.c
mdio_devres.c
mdio-boardinfo.c
mdio-boardinfo.h
mediatek-ge.c net: phy: mediatek: remove PHY mode check on MT7531 2022-02-15 14:21:01 +00:00
meson-gxl.c net: phy: meson-gxl: improve link-up behavior 2022-03-10 14:57:02 -08:00
micrel.c net: phy: micrel: Fix incorrect variable type in micrel 2022-05-10 15:18:13 -07:00
microchip_t1.c net: phy: LAN937x: added PHY_POLL_CABLE_TEST flag 2022-04-15 10:50:01 +01:00
microchip.c
mii_timestamper.c
motorcomm.c
mxl-gpy.c
national.c
nxp-c45-tja11xx.c net: phy: Use netif_rx(). 2022-03-06 11:05:31 +00:00
nxp-tja11xx.c
phy_device.c net: phy: exported the genphy_read_master_slave function 2022-03-08 13:34:33 +01:00
phy_led_triggers.c
phy-c45.c
phy-core.c phy: make phy_set_max_speed() *void* 2022-01-31 11:30:56 +00:00
phy.c net: phy: Fix race condition on link status change 2022-05-09 17:48:17 -07:00
phylink.c net: phylink: use %pe for printing errors 2022-03-02 22:02:21 -08:00
qsemi.c
realtek.c
rockchip.c
sfp-bus.c net: sfp: add 2500base-X quirk for Lantech SFP module 2022-03-15 11:41:20 +01:00
sfp.c net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT 2022-05-03 16:53:39 -07:00
sfp.h
smsc.c
spi_ks8995.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ste10Xp.c
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c