diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2024-04-26 12:12:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-29 12:02:43 +0300 |
commit | e25714466abd9d96901b15efddf82c60a38abd86 (patch) | |
tree | 74853548f48dbc7d522ca5f6ec24c328dc921c27 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 16f50301a804a4b86c75fdd0dfb50ec263ed41b1 (diff) | |
download | linux-e25714466abd9d96901b15efddf82c60a38abd86.tar.xz |
net: qede: sanitize 'rc' in qede_add_tc_flower_fltr()
Explicitly set 'rc' (return code), before jumping to the
unlock and return path.
By not having any code depend on that 'rc' remains at
it's initial value of -EINVAL, then we can re-use 'rc' for
the return code of function calls in subsequent patches.
Only compile tested.
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