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 staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO staging: ks7010: remove me from CC list 2020-05-05 12:36:04 +02:00
eap_packet.h staging: ks7010: remove not used definition WPA_CAPABILITY_PREAUTH 2018-05-14 14:07:05 +02:00
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 staging: ks7010: Remove unused define 2018-05-15 09:31:38 +02:00
ks_wlan_ioctl.h staging: ks7010: add SPDX identifiers to all files 2018-05-06 18:58:36 -07:00
ks_wlan_net.c staging: use eth_hw_addr_set() for dev->addr_len cases 2021-10-20 19:33:58 +02:00