diff options
author | Vinicius Costa Gomes <[email protected]> | 2019-10-08 16:20:07 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2019-10-09 18:49:19 -0700 |
commit | a954380acde6adf584de76c41e1d520097820dd5 (patch) | |
tree | 166cd9037166173a8d664c8849d08039b0e9b685 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 8cd6f4fe8f4177c64d0befb955f5079421a90a3b (diff) |
net: taprio: Fix returning EINVAL when configuring without flags
When configuring a taprio instance if "flags" is not specified (or
it's zero), taprio currently replies with an "Invalid argument" error.
So, set the return value to zero after we are done with all the
checks.
Fixes: 9c66d1564676 ("taprio: Add support for hardware offloading")
Signed-off-by: Vinicius Costa Gomes <[email protected]>
Acked-by: Vladimir Oltean <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions