diff options
author | 2020-11-18 13:25:02 +0000 | |
---|---|---|
committer | 2020-11-20 11:06:10 -0800 | |
commit | dd6028a3cb5da85d6c8ff20a593a7a70d10d650c (patch) | |
tree | 88662a6f3606a6f1aaa8e93678816bf571ee5ee4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | octeontx2-pf: Fix unintentional sign extension issue (diff) | |
download | wireguard-linux-dd6028a3cb5da85d6c8ff20a593a7a70d10d650c.tar.xz wireguard-linux-dd6028a3cb5da85d6c8ff20a593a7a70d10d650c.zip |
octeontx2-af: Fix return of uninitialized variable err
Currently the variable err may be uninitialized if several of the if
statements are not executed in function nix_tx_vtag_decfg and a garbage
value in err is returned. Fix this by initialized ret at the start of
the function.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 9a946def264d ("octeontx2-af: Modify nix_vtag_cfg mailbox to support TX VTAG entries")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20201118132502.461098-1-colin.king@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions