Skip to content
Commit 23ea630f authored by Max Filippov's avatar Max Filippov Committed by Jakub Kicinski
Browse files

net: natsemi: fix hw address initialization for jazz and xtensa



Use eth_hw_addr_set function instead of writing the address directly to
net_device::dev_addr.

Fixes: adeef3e3 ("net: constify netdev->dev_addr")
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/20211130143600.31970-1-jcmvbkbc@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5cfe53cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment