Skip to content

staging: fix W=1 format-truncation warnings

Masaharu Noguchi linux-arm-kernel linux-staging lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: greybus: audio_topology: avoid -Wformat-truncationdrivers/staging/greybus/audio_topology.c+6 -52 replies
2/2staging: vc04_services: bcm2835-camera: avoid -Wformat-truncationdrivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c+3 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

- 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(-)
Signature · 1 line
2.39.5