From: Gal Pressman Date: Sun, 30 Nov 2025 10:25:31 +0000 (+0200) Subject: net/mlx5e: Use u64 instead of __u64 in ieee_setmaxrate X-Git-Tag: v6.19-rc1~170^2~11^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1de33c377b685298da406bb4838bd9814194f96;p=thirdparty%2Fkernel%2Flinux.git net/mlx5e: Use u64 instead of __u64 in ieee_setmaxrate Change upper_limit_mbps/gbps from __u64 to u64 to follow kernel coding conventions. Signed-off-by: Gal Pressman Reviewed-by: Nimrod Oren Signed-off-by: Tariq Toukan Link: https://patch.msgid.link/1764498334-1327918-2-git-send-email-tariqt@nvidia.com Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c b/drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c index cf8f14ce4cd50..dd491fd8162bb 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c @@ -595,8 +595,8 @@ static int mlx5e_dcbnl_ieee_setmaxrate(struct net_device *netdev, struct mlx5_core_dev *mdev = priv->mdev; u8 max_bw_value[IEEE_8021QAZ_MAX_TCS]; u8 max_bw_unit[IEEE_8021QAZ_MAX_TCS]; - __u64 upper_limit_mbps; - __u64 upper_limit_gbps; + u64 upper_limit_mbps; + u64 upper_limit_gbps; int i; struct { int scale;