]> 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)
commit085e9490aba78c4fecddf029a6719db7debfdbf2
tree608557fb2b4fab4764b39f17049f3444843dbaab
parentc14b3d1ab445a3860ab2f7fc9d736644214ab50c
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