original_kernel/sound/firewire/digi00x
Takashi Iwai ea77850e98 ALSA: firewire: Fix -Wformat-truncation warning for MIDI stream names
The compile warnings at filling MIDI stream name strings are all
false-positive; the number of streams can't go so high.

For suppressing the warning, replace snprintf() with scnprintf().
As stated in the above, truncation doesn't matter.

Link: https://lore.kernel.org/r/20230915082802.28684-12-tiwai@suse.de
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-09-15 13:22:06 +02:00
..
Makefile
amdtp-dot.c ALSA: firewire-lib: obsolete return value from context payload processing layer 2023-01-12 12:14:50 +01:00
digi00x-hwdep.c
digi00x-midi.c ALSA: firewire: Fix -Wformat-truncation warning for MIDI stream names 2023-09-15 13:22:06 +02:00
digi00x-pcm.c
digi00x-proc.c
digi00x-stream.c ALSA: firewire-digi00x: prevent potential use after free 2023-05-12 10:18:05 +02:00
digi00x-transaction.c
digi00x.c ALSA: firewire: use 'GPL' string for module license contributed by Takashi Sakamoto 2023-06-12 14:38:58 +02:00
digi00x.h