On Sat, Jan 18, 2025 at 4:38 AM Luiz Angelo Daros de Luca
wrote:
> > The clean code, without my downstream patch is already here
> > https://github.com/openwrt/openwrt/commit/f24c47fa8a2fb653288d34e7a0bcdc6eafa5736e
> > . I'll still test it on my device before submitting.
>
> PR: https://github.c
Since the update to kernel 6.1, a warning like this appears in the
kernel log:
[ 49.773953] [ cut here ]
[ 49.773998] WARNING: CPU: 3 PID: 2349 at
target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/dsl_cpe_mei-ugw_8.5.2.10/src/drv_mei_cpe_msg_process.c:357
Commit 7bc487c12eef ("kernel: ltq-vdsl-vr9-mei: fix warning about
field-spanning write") patched the driver to use unsafe_memcpy in
MEI_IoctlCmdMsgWrite.
However, this is not actually necessary. The assignment of the variable
"pDestPtr" can be modified so that the compiler knows about the correct