summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd/pcnet32.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-02 00:32:19 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-02 16:18:25 +0300
commit2f23e5cef31414156c24b90e56dedc118feb9bf3 (patch)
treed492cf3db29a5b32cdf0cab268db86b018cea738 /drivers/net/ethernet/amd/pcnet32.c
parent4e9b9de65cddf6bd6444a72daf6118dfd629f645 (diff)
downloadlinux-2f23e5cef31414156c24b90e56dedc118feb9bf3.tar.xz
net: use eth_hw_addr_set()
Convert sw 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>
Diffstat (limited to 'drivers/net/ethernet/amd/pcnet32.c')
0 files changed, 0 insertions, 0 deletions