linux-stable/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.c atmel: use eth_hw_addr_set() 2021-10-20 12:39:44 +03:00
atmel.h
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
Kconfig
Makefile