Re: [PATCH 1/2] kernel: netdevices: Create Realtek DSA switch packages

2025-02-06 Thread Linus Walleij
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

[PATCH 1/2] ltq-vdsl-vr11-mei: fix field-spanning write warning

2025-02-06 Thread Jan Hoffmann
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

[PATCH 2/2] ltq-vdsl-vr9-mei: avoid unnecessary usage of unsafe_memcpy

2025-02-06 Thread Jan Hoffmann
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