net/mlx5: Add forgotten cleanup calls into mlx5_init_once() error path
stable inclusion from stable-v5.10.163 commit 66b92b80c95ebd0fc080395d376b5f283bfc2266 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7PJ9N Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=66b92b80c95ebd0fc080395d376b5f283bfc2266 ---------------------------------------------------- [ Upstream commit 2a35b2c2 ] There are two cleanup calls missing in mlx5_init_once() error path. Add them making the error path flow to be the same as mlx5_cleanup_once(). Fixes: 52ec462e ("net/mlx5: Add reserved-gids support") Fixes: 7c39afb3 ("net/mlx5: PTP code migration to driver core section") Signed-off-by:Jiri Pirko <jiri@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
zhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
Loading
Please sign in to comment