OpenCloudOS-Kernel/drivers/staging/most
Jakub Kicinski 349f631da4 staging: 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 staging 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>
Link: https://lore.kernel.org/r/20211019171243.1412240-3-kuba@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-20 19:33:58 +02:00
..
Documentation staging: most: Documentation: move ABI description files out of staging area 2020-03-24 13:42:44 +01:00
dim2 staging: most: dim2: use device release method 2021-10-13 14:27:55 +02:00
i2c staging: most: i2c: Fix a little doc-rot 2021-05-10 11:19:25 +02:00
net staging: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-20 19:33:58 +02:00
video staging/most: Remove all strcpy() uses in favor of strscpy() 2021-07-27 15:10:41 +02:00
Kconfig drivers: most: add ALSA sound driver 2021-03-23 10:03:13 +01:00
Makefile drivers: most: add ALSA sound driver 2021-03-23 10:03:13 +01:00
TODO