Skip to content

Conversation

juergh
Copy link
Contributor

@juergh juergh commented Sep 24, 2025

Replace one-element array with flexible-array member to fix:

[ 11.725017] ------------[ cut here ]------------
[ 11.725038] memcpy: detected field-spanning write (size 4) of single field "hdr->body" at drivers/staging/vc04_services/vc-sm-cma/vc_sm_cma_vchi.c:130 (size 0)
[ 11.725113] WARNING: CPU: 3 PID: 455 at drivers/staging/vc04_services/vc-sm-cma/vc_sm_cma_vchi.c:130 vc_vchi_cmd_create+0x1a8/0x1d0 [vc_sm_cma]

Replace one-element array with flexible-array member to fix:

[   11.725017] ------------[ cut here ]------------
[   11.725038] memcpy: detected field-spanning write (size 4) of single field "hdr->body" at drivers/staging/vc04_services/vc-sm-cma/vc_sm_cma_vchi.c:130 (size 0)
[   11.725113] WARNING: CPU: 3 PID: 455 at drivers/staging/vc04_services/vc-sm-cma/vc_sm_cma_vchi.c:130 vc_vchi_cmd_create+0x1a8/0x1d0 [vc_sm_cma]

Signed-off-by: Juerg Haefliger <[email protected]>
@pelwell pelwell merged commit 58f43fc into raspberrypi:rpi-6.12.y Sep 24, 2025
12 checks passed
@pelwell
Copy link
Contributor

pelwell commented Sep 24, 2025

Thanks!

popcornmix added a commit to raspberrypi/firmware that referenced this pull request Sep 27, 2025
See: raspberrypi/linux#6945

kernel: net: phy: broadcom: Add led-swap property support
See: raspberrypi/linux#7060

kernel: Select internal MSI target for 32-bit DMA on Pi 5 PCIe
See: raspberrypi/linux#7059

kernel: configs: Add CONFIG_VEML6030=m
See: raspberrypi/linux#7052

kernel: media: i2c: imx219: Scale the pixel rate for analog binning
See: raspberrypi/linux#7045

kernel: staging: vc-sm-cma: Fix field-spanning write warning
See: raspberrypi/linux#7064

kernel: drm/rp1: rp1-dsi: Add support for inverting lane polarities
See: raspberrypi/linux#7065

kernel: ARM: dts: Select the PL011 platform driver
See: raspberrypi/linux#7023

kernel: media: i2c: imx219: fix binning and rate_factor for 480p and 1232p
See: raspberrypi/linux#7063
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Sep 27, 2025
See: raspberrypi/linux#6945

kernel: net: phy: broadcom: Add led-swap property support
See: raspberrypi/linux#7060

kernel: Select internal MSI target for 32-bit DMA on Pi 5 PCIe
See: raspberrypi/linux#7059

kernel: configs: Add CONFIG_VEML6030=m
See: raspberrypi/linux#7052

kernel: media: i2c: imx219: Scale the pixel rate for analog binning
See: raspberrypi/linux#7045

kernel: staging: vc-sm-cma: Fix field-spanning write warning
See: raspberrypi/linux#7064

kernel: drm/rp1: rp1-dsi: Add support for inverting lane polarities
See: raspberrypi/linux#7065

kernel: ARM: dts: Select the PL011 platform driver
See: raspberrypi/linux#7023

kernel: media: i2c: imx219: fix binning and rate_factor for 480p and 1232p
See: raspberrypi/linux#7063
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants