Re: [PATCH net-next 4/4] mlx4: constify args for const dev_addr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 10/4/2021 10:14 PM, Jakub Kicinski wrote:
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@xxxxxxxxxx>
---
  drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 8 +++++---
  drivers/net/ethernet/mellanox/mlx4/mcg.c       | 2 +-
  include/linux/mlx4/device.h                    | 2 +-
  3 files changed, 7 insertions(+), 5 deletions(-)



Reviewed-by: Tariq Toukan <tariqt@xxxxxxxxxx>



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux