diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2024-04-26 12:12:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-29 12:02:43 +0300 |
commit | f26f719a36e56381a1f4230e5364e7ad4d485888 (patch) | |
tree | 53d1f19dbc871a52a4667cb943c8e80c5b746182 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 27b44414a34b108c5a37cd5b4894f606061d86e7 (diff) | |
download | linux-f26f719a36e56381a1f4230e5364e7ad4d485888.tar.xz |
net: qede: use return from qede_parse_actions()
When calling qede_parse_actions() then the
return code was only used for a non-zero check,
and then -EINVAL was returned.
qede_parse_actions() can currently fail with:
* -EINVAL
* -EOPNOTSUPP
This patch changes the code to use the actual
return code, not just return -EINVAL.
The blaimed commit broke the implicit assumption
that only -EINVAL would ever be returned.
Only compile tested.
Fixes: 319a1d19471e ("flow_offload: check for basic action hw stats type")
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions