ethernet: 8390: remove direct netdev->dev_addr writes
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Oct 2021 17:59:13 +0000 (10:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Oct 2021 10:46:57 +0000 (11:46 +0100)
commit8ce218b6e58ad9d2149402ea48ae8dbb0c57b1b5
tree0a2de992be4a84f5017305fee96d67c76b1c8388
parenta7639279c93c1e07a703c0f86f0831d4ea2314f0
ethernet: 8390: remove direct netdev->dev_addr writes

8390 contains a lot of loops assigning netdev->dev_addr
byte by byte. Convert what's possible directly to
eth_hw_addr_set(), use local buf in other places.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/8390/apne.c
drivers/net/ethernet/8390/ax88796.c
drivers/net/ethernet/8390/axnet_cs.c
drivers/net/ethernet/8390/mcf8390.c
drivers/net/ethernet/8390/ne.c
drivers/net/ethernet/8390/pcnet_cs.c
drivers/net/ethernet/8390/stnic.c
drivers/net/ethernet/8390/zorro8390.c