linux/drivers/net/wireless/atmel
Jakub Kicinski 251277af9c atmel: 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.

Use a buffer on the stack. Note that atmel_get_mib() is a wrapper
around atmel_copy_to_host(). For the to device direction we just
need to make sure functions respect argument being cost.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211018235021.1279697-7-kuba@kernel.org
2021-10-20 12:39:44 +03:00
..
at76c50x-usb.c atmel: at76c50x: use DEFINE_MUTEX() for mutex lock 2021-02-08 13:14:43 +02:00
at76c50x-usb.h atmel: at76c50x: Replace zero-length array with flexible-array member 2020-03-23 19:17:11 +02:00
atmel_cs.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
atmel_pci.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
atmel.c atmel: use eth_hw_addr_set() 2021-10-20 12:39:44 +03:00
atmel.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106 2019-05-24 17:39:01 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00