[PATCH 0/2] staging: fix W=1 format-truncation warnings

From: Masaharu Noguchi
Date: Sat Aug 30 2025 - 13:39:09 EST


- This series fixes -Wformat-truncation warnings in staging drivers found with W=1 builds:
- greybus: prefix device id to widget/control names safely
- vc04_services/bcm2835-camera: compose V4L2 bus_info safely
Both changes use scnprintf() for the prefix and strscpy() for the remainder. No functional change
intended.

Masaharu Noguchi (2):
staging: greybus: audio_topology: avoid -Wformat-truncation
staging: vc04_services: bcm2835-camera: avoid -Wformat-truncation

drivers/staging/greybus/audio_topology.c | 11 ++++++-----
.../vc04_services/bcm2835-camera/bcm2835-camera.c | 5 +++--
2 files changed, 9 insertions(+), 7 deletions(-)

--
2.39.5