linux-xiaomi-chiron/drivers/net/wireless/quantenna/qtnfmac
Jakub Kicinski fcb79f31d9 wireless: use eth_hw_addr_set() instead of ether_addr_copy()
Commit 406f42fa0d ("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
2021-10-20 12:39:42 +03:00
..
pcie
bus.h
cfg80211.c
cfg80211.h
commands.c
commands.h
core.c
core.h
debug.c
debug.h
event.c
event.h
Kconfig
Makefile
qlink.h
qlink_util.c
qlink_util.h
qtn_hw_ids.h
shm_ipc.c
shm_ipc.h
shm_ipc_defs.h
switchdev.h
trans.c
trans.h
util.c
util.h