diff options
| author | Colin Ian King <colin.king@canonical.com> | 2019-09-04 20:29:14 +0100 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-09-05 14:44:41 -0700 |
| commit | e53e665558eea32e76585c3d3a5786e7298045ad (patch) | |
| tree | 4f7acb2957f2bcd0164b12758c675e49ac769f4f /tools/perf/scripts/python/bin | |
| parent | net/mlx5: fix spelling mistake "offlaods" -> "offloads" (diff) | |
| download | linux-e53e665558eea32e76585c3d3a5786e7298045ad.tar.gz linux-e53e665558eea32e76585c3d3a5786e7298045ad.zip | |
net/mlx5: fix missing assignment of variable err
The error return from a call to mlx5_flow_namespace_set_peer is not
being assigned to variable err and hence the error check following
the call is currently not working. Fix this by assigning ret as
intended.
Addresses-Coverity: ("Logically dead code")
Fixes: 8463daf17e80 ("net/mlx5: Add support to use SMFS in switchdev mode")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
