diff options
author | Thomas Bogendoerfer <[email protected]> | 2023-03-15 14:41:17 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-03-16 17:35:21 -0700 |
commit | f38373345c65529639a01fba3675eb8cb4c579c3 (patch) | |
tree | 3158a533d28acda2d39de7fca3707bbd1681f7df /tools/testing/selftests/net/devlink_port_split.py | |
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 <[email protected]>
Reviewed-by: Michal Kubiak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/devlink_port_split.py')
0 files changed, 0 insertions, 0 deletions