WSL2-Linux-Kernel/drivers/staging/ks7010
Jakub Kicinski 3928f64b1e staging: use eth_hw_addr_set() for dev->addr_len cases
Convert all staging drivers from memcpy(... dev->addr_len)
to eth_hw_addr_set():

  @@
  expression dev, np;
  @@
  - memcpy(dev->dev_addr, np, dev->addr_len)
  + eth_hw_addr_set(dev, np)

Manually confirmed these are all etherdevices.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20211019171243.1412240-4-kuba@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-20 19:33:58 +02:00
..
Kconfig staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC 2021-10-13 15:10:21 +02:00
Makefile
TODO staging: ks7010: remove me from CC list 2020-05-05 12:36:04 +02:00
eap_packet.h
ks7010_sdio.c staging: ks7010: Fix the initialization of the 'sleep_status' structure 2021-07-27 15:07:43 +02:00
ks_hostif.c staging: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-20 19:33:58 +02:00
ks_hostif.h staging: ks7010: Wrap macro definitions in parenthesis 2021-06-18 13:02:54 +02:00
ks_wlan.h
ks_wlan_ioctl.h
ks_wlan_net.c staging: use eth_hw_addr_set() for dev->addr_len cases 2021-10-20 19:33:58 +02:00