linux-sg2042/drivers/net/ethernet/smsc
Jakub Kicinski f15fef4c06 ethernet: smsc: 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.

Break the address up into an array on the stack, then call
eth_hw_addr_set().

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-19 12:41:48 +01:00
..
Kconfig make legacy ISA probe optional 2021-08-03 13:05:26 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
epic100.c ethernet: replace netdev->dev_addr 16bit writes 2021-10-14 09:22:27 -07:00
smc91c92_cs.c ethernet: use eth_hw_addr_set() in unmaintained drivers 2021-10-18 13:20:38 +01:00
smc91x.c ethernet: smc91x: use eth_hw_addr_set() 2021-10-19 12:41:48 +01:00
smc91x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smc911x.c ethernet: smc91x: use eth_hw_addr_set() 2021-10-19 12:41:48 +01:00
smc911x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smc9194.c ethernet: isa: convert to module_init/module_exit 2021-08-03 13:05:26 +01:00
smc9194.h
smsc911x.c ethernet: smsc: use eth_hw_addr_set() 2021-10-19 12:41:48 +01:00
smsc911x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsc9420.c ethernet: smsc: use eth_hw_addr_set() 2021-10-19 12:41:48 +01:00
smsc9420.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00