]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: seeq/ether3: don't write directly to netdev->dev_addr
authorJakub Kicinski <kuba@kernel.org>
Wed, 26 Jan 2022 00:38:01 +0000 (16:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2022 15:40:01 +0000 (15:40 +0000)
commit8eb86fc2f4905899a4684c1e03555e42556f4d53
treef310c36e0b221a4dc1b3381985fef15088c45469
parent5518c5246ba600f52c108474ecea615ef8ff9e25
ethernet: seeq/ether3: 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/seeq/ether3.c