diff options
| author | Takashi Iwai <tiwai@suse.de> | 2023-09-15 11:27:52 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2023-09-15 14:21:30 +0300 |
| commit | 78bd8f5126f854872cc109cbac21c675d8539f3f (patch) | |
| tree | 0b1f290c11d72cf05cbeb00b2bc9ebb29d779017 /scripts/gdb/linux/genpd.py | |
| parent | 9830c3851fd6f7ca977691632b786ba11a44be77 (diff) | |
| download | linux-78bd8f5126f854872cc109cbac21c675d8539f3f.tar.xz | |
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 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions
