mlx4: constify args for const dev_addr
authorJakub Kicinski <kuba@kernel.org>
Mon, 4 Oct 2021 19:14:46 +0000 (12:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Oct 2021 12:15:35 +0000 (13:15 +0100)
commitebb1fdb589bd6d0ee647d4fa285bc934ba369cde
tree39a7a6fbb1cd8b8003338e3bca464e98270035bf
parente04ffd120f3c9818e56fc16f88d715508d7cd283
mlx4: constify args for const dev_addr

netdev->dev_addr will become const soon. Make sure all
functions which pass it around mark appropriate args
as const.

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/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mcg.c
include/linux/mlx4/device.h