85f9a7ffdc
[ 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> |
||
---|---|---|
.. | ||
chip.c | ||
chip.h | ||
devlink.c | ||
devlink.h | ||
global1.c | ||
global1.h | ||
global1_atu.c | ||
global1_vtu.c | ||
global2.c | ||
global2.h | ||
global2_avb.c | ||
global2_scratch.c | ||
hwtstamp.c | ||
hwtstamp.h | ||
Kconfig | ||
Makefile | ||
phy.c | ||
phy.h | ||
port.c | ||
port.h | ||
port_hidden.c | ||
ptp.c | ||
ptp.h | ||
serdes.c | ||
serdes.h | ||
smi.c | ||
smi.h |