realtek: eth: Do not write directly to dev->addr
authorOlliver Schinagl <oliver@schinagl.nl>
Wed, 24 May 2023 10:58:37 +0000 (12:58 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 3 Jun 2023 19:15:11 +0000 (21:15 +0200)
commitd881f65da1e6f3bc4237b39cf2373bef51c3828c
treeda509d31ecd48fa17f6bb4b3a8a9bb231cf52e36
parent9fb1dbb1df35911b407fa0faaa2443fbc0f0ddde
realtek: eth: Do not write directly to dev->addr

One is never to write to dev->addr directly. In 6.1 it will be a const and
with the newly enabled WERROR, we get a failing grade.

Lets fix this ahead of time.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
target/linux/realtek/files-5.15/drivers/net/ethernet/rtl838x_eth.c