Skip to content
Commit 74afa306 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller
Browse files

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Fixes: adeef3e3

 ("net: constify netdev->dev_addr")
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c63003e3
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