diff options
author | 2021-11-30 06:36:00 -0800 | |
---|---|---|
committer | 2021-11-30 18:15:58 -0800 | |
commit | 23ea630f86c70cbe6691f9f839e7b6742f0e9ad3 (patch) | |
tree | 1cc589bc218f8f92f374ca55d0567948003abd1c /net/core/dev_ioctl.c | |
parent | mctp: remove unnecessary check before calling kfree_skb() (diff) | |
download | wireguard-linux-23ea630f86c70cbe6691f9f839e7b6742f0e9ad3.tar.xz wireguard-linux-23ea630f86c70cbe6691f9f839e7b6742f0e9ad3.zip |
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: adeef3e32146 ("net: constify netdev->dev_addr")
Signed-off-by: Max 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: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions