1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 00:20:52 -05:00
linux/sound/firewire/motu
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
..
amdtp-motu-trace.h
amdtp-motu.c
Makefile
motu-command-dsp-message-parser.c
motu-hwdep.c
motu-midi.c
motu-pcm.c
motu-proc.c
motu-protocol-v1.c
motu-protocol-v2.c
motu-protocol-v3.c
motu-register-dsp-message-parser.c
motu-stream.c
motu-transaction.c
motu.c
motu.h