diff options
| author | 2023-09-15 10:27:59 +0200 | |
|---|---|---|
| committer | 2023-09-15 13:21:50 +0200 | |
| commit | 641e969114c781ff269e1bf1b1f8d3cc33bc4a1a (patch) | |
| tree | ab447063eb38d35ba4861f65b691dfcf90be56c7 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | ALSA: xen: Fix -Wformat-truncation warning (diff) | |
ALSA: firewire: Fix -Wformat-truncation warning for longname string
The filling of card->longname can be gracefully truncated, as it's
only informative. Use scnprintf() and suppress the superfluous
compile warning with -Wformat-truncation.
Link: https://lore.kernel.org/r/20230915082802.28684-11-tiwai@suse.de
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
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
