mlx4: replace mlx4_u64_to_mac() with u64_to_ether_addr()
authorJakub Kicinski <kuba@kernel.org>
Mon, 4 Oct 2021 19:14:44 +0000 (12:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Oct 2021 12:15:35 +0000 (13:15 +0100)
commit1bb96a07f9a8f2fe9725f6689605e32b75d20508
tree608557fb2b4fab4764b39f17049f3444843dbaab
parentded6e16b37e4c8c86cda98604ecd78818d6ca36a
mlx4: replace mlx4_u64_to_mac() with u64_to_ether_addr()

mlx4_u64_to_mac() predates the common helper but doesn't
make the argument constant.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cmd.c
include/linux/mlx4/driver.h