Skip to content
Snippets Groups Projects
user avatar
Vlad Buslov authored
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: default avatarColin King <colin.king@canonical.com>
Reported-by: default avatarTim Gardner <tim.gardner@canonical.com>
Reported-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
CC: linux-kernel@vger.kernel.org
Fixes: ff9b7521 ("net/mlx5: Bridge, support LAG")
Signed-off-by: default avatarVlad Buslov <vladbu@nvidia.com>
8343268e
History
Name Last commit Last update