Skip to content
Commit c51e5062 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

ethernet: manually convert memcpy(dev_addr,..., sizeof(addr))



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().

Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Acked-by: default avatarPetko Manolov <petkan@nucleusys.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent db0dcc6a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment