linux-stable/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 ASoC: Updates for v5.3 2019-07-08 14:45:34 +02:00
amdtp-motu.c ALSA: firewire-lib: obsolete return value from context payload processing layer 2023-01-12 12:14:50 +01:00
Makefile ALSA: firewire-motu: add message parser for meter information in command DSP model 2021-10-15 17:52:07 +02:00
motu-command-dsp-message-parser.c ALSA: firewire-lib: use circular linked list for context payload processing layer 2023-01-09 17:04:44 +01:00
motu-hwdep.c ALSA: firewire-motu: fix unreleased lock warning in hwdep device 2023-01-31 09:34:04 +01:00
motu-midi.c ALSA: firewire: Fix -Wformat-truncation warning for MIDI stream names 2023-09-15 13:22:06 +02:00
motu-pcm.c ALSA: firewire: Replace runtime->status->state reference to runtime->state 2022-09-27 08:47:25 +02:00
motu-proc.c ALSA: firewire-motu: use table-based calculation of packet formats for proc 2020-05-22 16:52:16 +02:00
motu-protocol-v1.c ALSA: firewire: Remove some left-over license text in sound/firewire 2022-09-27 08:42:18 +02:00
motu-protocol-v2.c ALSA: firewire-motu: add message parser to gather meter information in register DSP model 2021-10-15 17:52:05 +02:00
motu-protocol-v3.c ALSA: firewire-motu: add support for MOTU Track 16 2021-11-08 13:49:27 +01:00
motu-register-dsp-message-parser.c ALSA: firewire-lib: use circular linked list for context payload processing layer 2023-01-09 17:04:44 +01:00
motu-stream.c ALSA: firewire-motu: add message parser for meter information in command DSP model 2021-10-15 17:52:07 +02:00
motu-transaction.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
motu.c ALSA: firewire: use 'GPL' string for module license contributed by Takashi Sakamoto 2023-06-12 14:38:58 +02:00
motu.h ALSA: firewire-lib: use circular linked list for context payload processing layer 2023-01-09 17:04:44 +01:00