linux/drivers/staging/r8188eu
Jakub Kicinski 6ed178cb23 staging: use eth_hw_addr_set()
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 staging 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)
  @@
  - memcpy(dev->dev_addr, np, 6)
  + eth_hw_addr_set(dev, np)

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20211019171243.1412240-2-kuba@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-20 19:33:58 +02:00
..
core staging: r8188eu: Remove redundant 'if' statement 2021-10-19 09:33:54 +02:00
hal staging: r8188eu: RFType type is always ODM_1T1R 2021-10-20 19:32:48 +02:00
include staging: r8188eu: RFType type is always ODM_1T1R 2021-10-20 19:32:48 +02:00
os_dep staging: use eth_hw_addr_set() 2021-10-20 19:33:58 +02:00
Kconfig staging: r8188eu: Remove conditionals CONFIG_88EU_{AP_MODE,P2P} 2021-09-13 08:49:54 +02:00
Makefile staging: r8188eu: Makefile: use one file list 2021-10-18 16:51:07 +02:00
TODO