summaryrefslogtreecommitdiff
path: root/sound/firewire/bebob
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-09-15 11:27:59 +0300
committerTakashi Iwai <tiwai@suse.de>2023-09-15 14:21:50 +0300
commit641e969114c781ff269e1bf1b1f8d3cc33bc4a1a (patch)
treeab447063eb38d35ba4861f65b691dfcf90be56c7 /sound/firewire/bebob
parent7272b8bfba35b2333b33d77f73ce75ee161880c2 (diff)
downloadlinux-641e969114c781ff269e1bf1b1f8d3cc33bc4a1a.tar.xz
ALSA: firewire: Fix -Wformat-truncation warning for longname string
The filling of card->longname can be gracefully truncated, as it's only informative. Use scnprintf() and suppress the superfluous compile warning with -Wformat-truncation. Link: https://lore.kernel.org/r/20230915082802.28684-11-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>
Diffstat (limited to 'sound/firewire/bebob')
0 files changed, 0 insertions, 0 deletions