kernel_samsung_a53x/drivers/net/dsa
Tobias Waldekranz 85f9a7ffdc net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path
[ Upstream commit fc82a08ae795ee6b73fb6b50785f7be248bec7b5 ]

mv88e6xxx_get_stats, which collects stats from various sources,
expects all callees to return the number of stats read. If an error
occurs, 0 should be returned.

Prevent future mishaps of this kind by updating the return type to
reflect this contract.

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:13:14 +01:00
..
b53 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
microchip Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mv88e6xxx net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path 2024-11-18 12:13:14 +01:00
ocelot Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qca Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sja1105 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm_sf2.c net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register() 2024-11-08 11:26:11 +01:00
bcm_sf2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm_sf2_cfp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm_sf2_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsa_loop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsa_loop.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsa_loop_bdinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lan9303-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lan9303.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lan9303_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lan9303_mdio.c net: dsa: lan9303: consequently nested-lock physical MDIO 2024-11-18 11:43:30 +01:00
lantiq_gswip.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lantiq_pce.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mt7530.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mt7530.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mv88e6060.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mv88e6060.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qca8k.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qca8k.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
realtek-smi-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
realtek-smi-core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8366.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtl8366rb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vitesse-vsc73xx-core.c net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe 2024-11-18 12:12:51 +01:00
vitesse-vsc73xx-platform.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vitesse-vsc73xx-spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vitesse-vsc73xx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00