Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/en_tc.c between commit: 6e9d51b1a5cb ("net/mlx5e: Initialize link speed to zero") from the net tree and commit: 1bffcea42926 ("net/mlx5e: Add devlink hairpin queues parameters") from the net-next tree. I fixed it up (I used the latter version of this file and added the following merge fix patch) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. From: Stephen Rothwell Date: Fri, 24 Mar 2023 12:02:44 +1100 Subject: [PATCH] fix up for "net/mlx5e: Initialize link speed to zero" interacting with "net/mlx5e: Add devlink hairpin queues parameters" Signed-off-by: Stephen Rothwell --- drivers/net/ethernet/mellanox/mlx5/core/devlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/devlink.c b/drivers/net/ethernet/mellanox/mlx5/core/devlink.c index 1ee2a472e1d2..25d1a04ef443 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/devlink.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/devlink.c @@ -529,8 +529,8 @@ static void mlx5_devlink_hairpin_params_init_values(struct devlink *devlink) { struct mlx5_core_dev *dev = devlink_priv(devlink); union devlink_param_value value; + u32 link_speed = 0; u64 link_speed64; - u32 link_speed; /* set hairpin pair per each 50Gbs share of the link */ mlx5_port_max_linkspeed(dev, &link_speed); -- 2.39.2 -- Cheers, Stephen Rothwell