diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-19 02:50:08 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-10-20 12:39:42 +0300 |
commit | fcb79f31d9068692f696e92c7fda199b37f5ee96 (patch) | |
tree | 418170cf180c2906d86f39d10ada6321a82d6e0d /drivers/net/wireless/zydas | |
parent | 708884e7f7f3adb00ddb32d1c1a772d30bf86747 (diff) | |
download | linux-fcb79f31d9068692f696e92c7fda199b37f5ee96.tar.xz |
wireless: 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 wireless 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: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211018235021.1279697-3-kuba@kernel.org
Diffstat (limited to 'drivers/net/wireless/zydas')
0 files changed, 0 insertions, 0 deletions