ALSA: firewire: dice: Fix printf warning with W=1
authorTakashi Iwai <tiwai@suse.de>
Fri, 27 Feb 2026 15:57:00 +0000 (16:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 28 Feb 2026 08:31:13 +0000 (09:31 +0100)
commitd4d5633d8b19b0e745a7910aea49956b3b47900d
tree097c7917af58c958a391fd461075afd4aaee2db4
parent05ac3846ffe53fc63e454eb195ce8a6bab7a6a88
ALSA: firewire: dice: Fix printf warning with W=1

The use of snprintf() may cause a warning with W=1 due to the possibly
truncated string.  As the truncation doesn't really matter (and won't
happen practically) in the case of dice driver, just shut it up by
replacing with scnprintf().

Link: https://patch.msgid.link/20260227155705.1557224-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/dice/dice.c