linux/sound/xen
Takashi Iwai 7272b8bfba ALSA: xen: Fix -Wformat-truncation warning
The compile warning with -Wformat-truncation at
xen_snd_front_cfg_card() is false-positive; the loop can be only for
SNDRV_PCM_DEVICES which is at most 32.

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-10-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-09-15 13:21:35 +02:00
..
Kconfig
Makefile
xen_snd_front_alsa.c ALSA: xen: Convert to generic PCM copy ops 2023-08-18 12:18:25 +02:00
xen_snd_front_alsa.h
xen_snd_front_cfg.c ALSA: xen: Fix -Wformat-truncation warning 2023-09-15 13:21:35 +02:00
xen_snd_front_cfg.h
xen_snd_front_evtchnl.c
xen_snd_front_evtchnl.h
xen_snd_front.c xen: make remove callback of xen driver void returned 2022-12-15 16:06:10 +01:00
xen_snd_front.h