commit | 74afa30630976861a1308c5ec93391f8b037a2ae | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Mon Jan 24 09:22:49 2022 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 25 11:10:46 2022 +0000 |
tree | 61c56ca0f426726cc4bacdd8da7a6e0074576c09 | |
parent | c63003e3d99761afb280add3b30de1cf30fa522b [diff] |
net: fec_mpc52xx: don't discard const from netdev->dev_addr Recent changes made netdev->dev_addr const, and it's passed directly to mpc52xx_fec_set_paddr(). Similar problem exists on the probe patch, the driver needs to call eth_hw_addr_set(). Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Fixes: adeef3e32146 ("net: constify netdev->dev_addr") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>