diff options
author | 2023-09-15 10:28:00 +0200 | |
---|---|---|
committer | 2023-09-15 13:22:06 +0200 | |
commit | ea77850e98410987525eb392c229949c87779835 (patch) | |
tree | d4d06b63ab27b451bf1916c7424c2cd757282fb9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: firewire: Fix -Wformat-truncation warning for longname string (diff) | |
download | wireguard-linux-ea77850e98410987525eb392c229949c87779835.tar.xz wireguard-linux-ea77850e98410987525eb392c229949c87779835.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions