diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-09-15 10:27:52 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-09-15 13:21:30 +0200 |
commit | 78bd8f5126f854872cc109cbac21c675d8539f3f (patch) | |
tree | 0b1f290c11d72cf05cbeb00b2bc9ebb29d779017 /lib/rbtree.c | |
parent | 9830c3851fd6f7ca977691632b786ba11a44be77 (diff) |
ALSA: usb-audio: scarlett_gen2: Fix -Wformat-truncation warning
The recent enablement of -Wformat-truncation leads to a false-positive
warning for mixer_scarlett_gen2.c.
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-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions