diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-09-15 10:27:51 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-09-15 13:21:30 +0200 |
commit | 9830c3851fd6f7ca977691632b786ba11a44be77 (patch) | |
tree | 4f255fcd4023964d3f6fc921317399b101bb65c7 /mm | |
parent | 0d42260867f9ff3e3a5bcfa8750fa06a658e0b1c (diff) | |
download | linux-stable-9830c3851fd6f7ca977691632b786ba11a44be77.tar.gz linux-stable-9830c3851fd6f7ca977691632b786ba11a44be77.tar.bz2 linux-stable-9830c3851fd6f7ca977691632b786ba11a44be77.zip |
ALSA: seq: midi: Fix -Wformat-truncation warning
The compile warnings with -Wformat-truncation appearing at
snd_seq_midisynth_probe() in seq_midi.c are false-positive; those must
fit within the given string size.
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-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions