commit | a96d317fb1a30b9f323548eb2ff05d4e4600ead9 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Fri Oct 01 14:32:20 2021 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 02 14:18:25 2021 +0100 |
tree | af0fc5c39eef0461e5e15a6cf2f5d9eac93fd101 | |
parent | 2f23e5cef31414156c24b90e56dedc118feb9bf3 [diff] |
ethernet: use eth_hw_addr_set() Convert all Ethernet drivers from memcpy(... ETH_ADDR) to eth_hw_addr_set(): @@ expression dev, np; @@ - memcpy(dev->dev_addr, np, ETH_ALEN) + eth_hw_addr_set(dev, np) Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>