aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorTobias Waldekranz <[email protected]>2023-12-14 14:50:24 +0100
committerDavid S. Miller <[email protected]>2023-12-15 11:05:02 +0000
commitfc82a08ae795ee6b73fb6b50785f7be248bec7b5 (patch)
tree73383972d47020bdf920cf8da17f1b300b8938b5 /tools/testing/selftests/bpf/progs/test_autoload.c
parent3def80e52db3ab5e1097b13a87a7a65b909630d3 (diff)
net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path
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 <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Tobias Waldekranz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions