Re: [PATCH net-next 4/7] ethernet: manually convert memcpy(dev_addr,..., sizeof(addr))

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

 





On 10/13/2021 1:44 PM, Jakub Kicinski wrote:
A handful of drivers use sizeof(addr) for the size of
the address, after manually confirming the size is
indeed 6 convert them to eth_hw_addr_set().

Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
---
CC: nicolas.ferre@xxxxxxxxxxxxx
CC: claudiu.beznea@xxxxxxxxxxxxx
CC: f.fainelli@xxxxxxxxx
CC: petkan@xxxxxxxxxxxxx
CC: christophe.jaillet@xxxxxxxxxx
CC: zhangchangzhong@xxxxxxxxxx
CC: linux-usb@xxxxxxxxxxxxxxx
---


  drivers/net/ethernet/ti/cpmac.c          | 2 +-

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux