]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6eb87f4c7a5a9c3ad2a9bc6a90ea8039b812de64
tree608557fb2b4fab4764b39f17049f3444843dbaab
parent99cb92a72c89a573d7ba5917dfd7edd96773e6d7
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