aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/assign_reuse.c
diff options
context:
space:
mode:
authorTobias Waldekranz <tobias@waldekranz.com>2023-12-14 14:50:24 +0100
committerDavid S. Miller <davem@davemloft.net>2023-12-15 11:05:02 +0000
commitfc82a08ae795ee6b73fb6b50785f7be248bec7b5 (patch)
tree73383972d47020bdf920cf8da17f1b300b8938b5 /tools/testing/selftests/bpf/prog_tests/assign_reuse.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 <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>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/assign_reuse.c')
0 files changed, 0 insertions, 0 deletions