linux/sound
Takashi Iwai 4aa69d64e4 ALSA: ump: Fix -Wformat-truncation warnings
Filling the rawmidi name and substream name can be truncated, and this
leads to spurious compiler warnings due to -Wformat-truncation.
Although the truncation is the expected behavior, it'd be better to
truncate the string within "(...)"

This patch puts the precision specifies to each %s for fitting the
words within the size-limited strings.

Fixes: 5f11dd938f ("ALSA: usb-audio: Attach legacy rawmidi after probing all UMP EPs")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308251844.1FuQYsql-lkp@intel.com/
Link: https://lore.kernel.org/r/20230826072151.23408-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-08-26 09:22:18 +02:00
..
ac97 ALSA: ac97: set variables dev_attr_vendor_id to static 2023-08-02 09:27:39 +02:00
aoa ALSA: aoa: Fix typos in PCM fix patch 2023-08-18 09:09:39 +02:00
arm
atmel
core ALSA: ump: Fix -Wformat-truncation warnings 2023-08-26 09:22:18 +02:00
drivers ALSA: pcmtest: Add support for pcm pausing 2023-08-24 09:58:22 +02:00
firewire ALSA: dice: add stream format parameters for Weiss devices 2023-08-10 10:10:34 +02:00
hda ALSA: hda: intel-dsp-cfg: Add Chromebook quirk to ADL/RPL 2023-08-16 08:37:40 +02:00
i2c
isa ALSA: emu8000: Convert to generic PCM copy ops 2023-08-18 12:18:19 +02:00
mips
oss
parisc
pci ALSA: hda: Add missing dependency on CONFIG_EFI for Cirrus/TI sub-codecs 2023-08-25 11:28:45 +02:00
pcmcia
ppc
sh ALSA: sh: Convert to generic PCM copy ops 2023-08-18 12:18:24 +02:00
soc Merge branch 'for-linus' into for-next 2023-08-24 09:27:21 +02:00
sparc
spi
synth
usb ALSA: usb-audio: Attach legacy rawmidi after probing all UMP EPs 2023-08-24 10:03:15 +02:00
virtio
x86
xen ALSA: xen: Convert to generic PCM copy ops 2023-08-18 12:18:25 +02:00
ac97_bus.c
Kconfig ALSA: Enable build with UML 2023-07-18 15:19:01 +01:00
last.c
Makefile
sound_core.c