kernel: ltq-ptm: do not write directly to dev->addr
authorAleksander Jan Bajkowski <olek2@wp.pl>
Sat, 6 May 2023 21:14:16 +0000 (23:14 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 6 Jun 2023 18:10:34 +0000 (20:10 +0200)
commit598e058080b990cf59ff84d3d50b639f44f11614
tree1eb8735bac88d2c0b2e8f0df55aabac021ae3fe7
parentf6485c7ce6de05618248b9ea18e93bc0262f163f
kernel: ltq-ptm: 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.

Ref: https://github.com/torvalds/linux/commit/adeef3e32146a8d2a73c399dc6f5d76a449131b1
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c