summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-09-15 12:13:12 +0300
committerTakashi Iwai <tiwai@suse.de>2023-09-15 14:23:01 +0300
commitba8bb7dce1b2d2e3d582733f015778e3c31d042b (patch)
tree807f80f75b47f918ed7e9b472ff0258c2ed1c9b1 /tools/perf/scripts/python/stackcollapse.py
parent60a9c7f7fb98163150964236e07bc57e731ad4f2 (diff)
downloadlinux-ba8bb7dce1b2d2e3d582733f015778e3c31d042b.tar.xz
ALSA: cs4231: 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-3-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