linux/sound/firewire/dice
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
..
dice-alesis.c ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26 2021-05-14 09:40:15 +02:00
dice-extension.c ALSA: dice: fix fallback from protocol extension into limited functionality 2020-01-13 10:43:27 +01:00
dice-focusrite.c ALSA: dice: Remove left-over license text 2022-12-01 07:50:59 +01:00
dice-harman.c ALSA: firewire: Remove some left-over license text in sound/firewire 2022-09-27 08:42:18 +02:00
dice-hwdep.c ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
dice-interface.h ALSA: dice: improve support for ancient firmware for DICE 2018-04-24 17:18:59 +02:00
dice-midi.c ALSA: firewire: Fix -Wformat-truncation warning for MIDI stream names 2023-09-15 13:22:06 +02:00
dice-mytek.c ALSA: dice: add stream format parameters for Mytek devices 2018-05-18 08:53:51 +02:00
dice-pcm.c ALSA: firewire: Replace runtime->status->state reference to runtime->state 2022-09-27 08:47:25 +02:00
dice-presonus.c ALSA: firewire: Remove some left-over license text in sound/firewire 2022-09-27 08:42:18 +02:00
dice-proc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
dice-stream.c ALSA: dice: fix regression for Lexicon I-ONIX FW810S 2022-11-30 16:15:02 +01:00
dice-tcelectronic.c ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency 2021-05-18 08:57:54 +02:00
dice-transaction.c ALSA: dice: wait just for NOTIFY_CLOCK_ACCEPTED after GLOBAL_CLOCK_SELECT operation 2021-06-01 18:36:18 +02:00
dice-weiss.c ALSA: dice: add stream format parameters for Weiss devices 2023-08-10 10:10:34 +02:00
dice.c ALSA: dice: add stream format parameters for Weiss devices 2023-08-10 10:10:34 +02:00
dice.h ALSA: dice: add stream format parameters for Weiss devices 2023-08-10 10:10:34 +02:00
Makefile ALSA: dice: add stream format parameters for Weiss devices 2023-08-10 10:10:34 +02:00