]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
amd: declance: use eth_hw_addr_set()
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 25 Jan 2022 14:40:06 +0000 (15:40 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Jan 2022 17:00:53 +0000 (09:00 -0800)
commit8bdd24940b69c0018b64b496aa3b03a25f7295ca
tree434911e18b0feaa2710afd363dfdf8217aab2594
parent2f61353cd2f789a4229b6f5c1c24a40a613357bb
amd: declance: use eth_hw_addr_set()

Copy scattered mac address octets into an array then eth_hw_addr_set().

Fixes: adeef3e32146 ("net: constify netdev->dev_addr")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Link: https://lore.kernel.org/r/20220125144007.64407-1-tsbogend@alpha.franken.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/declance.c