diff options
| author | 2023-09-15 10:27:54 +0200 | |
|---|---|---|
| committer | 2023-09-15 13:21:32 +0200 | |
| commit | 2a471452599a2e94fcc53ee2b7eac87fccd4ba04 (patch) | |
| tree | b51df722ee669461f88f1f0911cc34661f0ce463 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | ALSA: caiaq: Fix -Wformat-truncation warning (diff) | |
ALSA: sscape: Fix -Wformat-truncation warning
The warning with -Wformat-truncation at sscape_upload_microcode() is
false-positive; the version number can be only a single digit, hence
fitting with the given string size.
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-6-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
