diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-09-15 12:13:11 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-09-15 14:22:53 +0300 |
commit | 60a9c7f7fb98163150964236e07bc57e731ad4f2 (patch) | |
tree | 7c2b325c3ba6b4852aff43ac513018500483b140 /tools/perf/scripts/python/stackcollapse.py | |
parent | 5f6af0050a7a6f8d7972267ddd3a75970e13931e (diff) | |
download | linux-60a9c7f7fb98163150964236e07bc57e731ad4f2.tar.xz |
ALSA: ad1848: 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/20230915091313.5988-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions