diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-01 14:32:24 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-02 14:18:25 +0100 |
commit | af804e6db9f60b923ff5149d9bf782e0baa82a2b (patch) | |
tree | 58bab315b469caf8fb601c45cd6b5d9603af8419 /drivers/net/wwan/iosm/iosm_ipc_flash.c | |
parent | f3956ebb3bf06ab2266ad5ee2214aed46405810c (diff) |
net: usb: use eth_hw_addr_set() instead of ether_addr_copy()
Commit 406f42fa0d3c ("net-next: When a bond have a massive amount
of VLANs...") introduced a rbtree for faster Ethernet address look
up. To maintain netdev->dev_addr in this tree we need to make all
the writes to it got through appropriate helpers.
Convert net/usb from ether_addr_copy() to eth_hw_addr_set():
@@
expression dev, np;
@@
- ether_addr_copy(dev->dev_addr, np)
+ 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/wwan/iosm/iosm_ipc_flash.c')
0 files changed, 0 insertions, 0 deletions