Skip to content

Commit e1de33c

Browse files
gal-pressmankuba-moo
authored andcommitted
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 <gal@nvidia.com> Reviewed-by: Nimrod Oren <noren@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/1764498334-1327918-2-git-send-email-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 596c696 commit e1de33c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,8 @@ static int mlx5e_dcbnl_ieee_setmaxrate(struct net_device *netdev,
595595
struct mlx5_core_dev *mdev = priv->mdev;
596596
u8 max_bw_value[IEEE_8021QAZ_MAX_TCS];
597597
u8 max_bw_unit[IEEE_8021QAZ_MAX_TCS];
598-
__u64 upper_limit_mbps;
599-
__u64 upper_limit_gbps;
598+
u64 upper_limit_mbps;
599+
u64 upper_limit_gbps;
600600
int i;
601601
struct {
602602
int scale;

0 commit comments

Comments
 (0)