]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: i825xx: don't write directly to netdev->dev_addr
authorJakub Kicinski <kuba@kernel.org>
Wed, 26 Jan 2022 00:37:59 +0000 (16:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2022 15:40:01 +0000 (15:40 +0000)
commit98ef22bbae788e05109aba16b77deb9f37bfb285
tree3c44be708b832e0bd4996f3a6d80126f0749ba3a
parent7f6ec2b2f01b45b39cd2ffcd49fdb30d0b6c626d
ethernet: i825xx: don't write directly to netdev->dev_addr

netdev->dev_addr is const now.

Compile tested rpc_defconfig w/ GCC 8.5.

Fixes: adeef3e32146 ("net: constify netdev->dev_addr")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/i825xx/ether1.c