summaryrefslogtreecommitdiff
path: root/virt/lib
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-04 09:05:22 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-05 13:16:48 +0100
commit49ed8dde371522b2d330a7383aaa213748ad007e (patch)
tree52a737009b7e0d15d3c44640513eacef60d9b1dc /virt/lib
parenta05e4c0af490ca7c22fc77120aafebebdeaaf537 (diff)
net: usb: use eth_hw_addr_set() for dev->addr_len cases
Convert usb drivers from memcpy(... dev->addr_len) to eth_hw_addr_set(): @@ expression dev, np; @@ - memcpy(dev->dev_addr, np, dev->addr_len) + eth_hw_addr_set(dev, np) Manually checked these are either usbnet or pure etherdevs. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt/lib')
0 files changed, 0 insertions, 0 deletions