diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2023-03-15 14:41:17 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-16 17:35:21 -0700 |
commit | f38373345c65529639a01fba3675eb8cb4c579c3 (patch) | |
tree | 3158a533d28acda2d39de7fca3707bbd1681f7df /tools | |
parent | 3d87debb8ed2649608ff432699e7c961c0c6f03b (diff) |
i825xx: sni_82596: use eth_hw_addr_set()
netdev->dev_addr is now const, we can't write to it directly.
Copy scrambled mac address octects into an array then eth_hw_addr_set().
Fixes: adeef3e32146 ("net: constify netdev->dev_addr")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Link: https://lore.kernel.org/r/20230315134117.79511-1-tsbogend@alpha.franken.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions