diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-01-12 18:10:00 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-01-15 12:41:14 +0100 |
commit | 3787ffdd13de81ba406e5b42c6c24f823395ba5e (patch) | |
tree | 1be6132a3ee637c0f156361c6e02780a86371ff2 /drivers/fpga/microchip-spi.c | |
parent | 454abb80e26ab85323a30e52aa7b0ee9aae1d38a (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 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions