aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3
diff options
context:
space:
mode:
authorPeter Ujfalusi <[email protected]>2023-09-19 10:12:05 +0300
committerTakashi Iwai <[email protected]>2023-09-19 09:17:09 +0200
commitaadb0330cfb60829318ef02ccfb9dd09cd14d920 (patch)
tree88cae2997bb209f6c3e9fe857d919636b846c10c /drivers/usb/cdns3
parentb2ce0027d7b2905495021c5208f92043eb493146 (diff)
ALSA: usb-audio: scarlett_gen2: Fix another -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. Fixes: 78bd8f5126f8 ("ALSA: usb-audio: scarlett_gen2: Fix -Wformat-truncation warning") Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions