diff options
author | Vlad Buslov | 2021-08-18 14:19:13 +0300 |
---|---|---|
committer | Saeed Mahameed | 2021-09-07 14:16:42 -0700 |
commit | 8343268ec3cf4e097aa8b2071f0cd6779e2c4953 (patch) | |
tree | 06af4ed3e7807ea2a804c3782d2629f2d9a2f4ec /tools/hv | |
parent | 0f77f2defaf682eb7e7ef623168e49c74ae529e3 (diff) |
net/mlx5: Bridge, fix uninitialized variable usage
In some conditions variable 'err' is not assigned with value in
mlx5_esw_bridge_port_obj_attr_set() and mlx5_esw_bridge_port_changeupper()
functions after recent changes to support LAG. Initialize the variable with
zero value in both cases.
Reported-by: Colin King <colin.king@canonical.com>
Reported-by: Tim Gardner <tim.gardner@canonical.com>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
CC: linux-kernel@vger.kernel.org
Fixes: ff9b7521468b ("net/mlx5: Bridge, support LAG")
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions