diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-01-24 20:22:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-25 14:10:46 +0300 |
commit | 74afa30630976861a1308c5ec93391f8b037a2ae (patch) | |
tree | 61c56ca0f426726cc4bacdd8da7a6e0074576c09 /net | |
parent | c63003e3d99761afb280add3b30de1cf30fa522b (diff) | |
download | linux-74afa30630976861a1308c5ec93391f8b037a2ae.tar.xz |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions