aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorChristophe Jaillet <[email protected]>2016-07-14 08:18:45 +0200
committerDavid S. Miller <[email protected]>2016-07-14 22:14:54 -0700
commita1e3e7372c54fb74994a9cb72965d6e9b4c2efda (patch)
tree43c52d75dbffeda2c31e925dd3565acbf6b08ca9 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parente6dab9021f13ad961aadb24770931e30e90e8aa7 (diff)
mlxsw: spectrum_router: Return -ENOENT in case of error
'vr' should be a valid pointer here, so returning 'PTR_ERR(vr)' is wrong. Return an explicit error code (-ENOENT) instead. Fixes: 61c503f976 ("mlxsw: spectrum_router: Implement fib4 add/del switchdev obj ops") Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions