summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-01-12 18:10:00 +0100
committerTakashi Iwai <tiwai@suse.de>2024-01-15 12:41:14 +0100
commit3787ffdd13de81ba406e5b42c6c24f823395ba5e (patch)
tree1be6132a3ee637c0f156361c6e02780a86371ff2 /sound/pci
parent454abb80e26ab85323a30e52aa7b0ee9aae1d38a (diff)
ALSA: scarlett2: Fix yet more -Wformat-truncation warnings
The recent code change introduced a few false-positive compile warnings with -Wformat-trucation again. Suppress them by replacing snprintf() with scnprintf(). Fixes: 0a995e38dc44 ("ALSA: scarlett2: Add support for software-controllable input gain") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202401062344.AzZCYlpa-lkp@intel.com/ Link: https://lore.kernel.org/r/20240112171000.31855-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions