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

Masaharu Noguchi posted 2 patches 1 month ago
drivers/staging/greybus/audio_topology.c              | 11 ++++++-----
.../vc04_services/bcm2835-camera/bcm2835-camera.c     |  5 +++--
2 files changed, 9 insertions(+), 7 deletions(-)
[PATCH 0/2] staging: fix W=1 format-truncation warnings
Posted by Masaharu Noguchi 1 month ago
    - 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