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

From
Petko Manolov <petkan@nucleusys.com>
Date
2021-10-14 08:27:16
Also in
linux-usb
Reply to
Jakub Kicinski, 2021-10-13
On 21-10-13 13:44:32, 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/usb/pegasus.c                | 2 +-
Acked-by: Petko Manolov <petkan@nucleusys.com>
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