diff options
author | Asbjørn Sloth Tønnesen <[email protected]> | 2024-04-26 09:12:23 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-04-29 10:02:43 +0100 |
commit | e25714466abd9d96901b15efddf82c60a38abd86 (patch) | |
tree | 74853548f48dbc7d522ca5f6ec24c328dc921c27 /scripts/tracing/draw_functrace.py | |
parent | 16f50301a804a4b86c75fdd0dfb50ec263ed41b1 (diff) |
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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/tracing/draw_functrace.py')
0 files changed, 0 insertions, 0 deletions