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

From
Florian Fainelli <f.fainelli@gmail.com>
Date
2021-10-14 02:28:04
Also in
linux-usb
Reply to
Jakub Kicinski, 2021-10-13

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@kernel.org>
---
CC: nicolas.ferre@microchip.com
CC: <redacted>
CC: f.fainelli@gmail.com
CC: petkan@nucleusys.com
CC: <redacted>
CC: <redacted>
CC: <redacted>
---
  drivers/net/ethernet/ti/cpmac.c          | 2 +-
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Thread (15 messages) 15 messages, 6 authors, last reply 2021-10-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help