summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-09-15 11:28:02 +0300
committerTakashi Iwai <tiwai@suse.de>2023-09-15 14:22:16 +0300
commit5f6af0050a7a6f8d7972267ddd3a75970e13931e (patch)
tree607da9c7b93f46062985c3afef8e4eb19777a96f /tools/perf/scripts/python/stackcollapse.py
parent28329936d1e2ff4b962daca1c943f0150890d51e (diff)
downloadlinux-5f6af0050a7a6f8d7972267ddd3a75970e13931e.tar.xz
ALSA: hda: generic: Check potential mixer name string truncation
add_control_with_pfx() constructs a mixer name element with the fixed size, and it got compile warnings with -Wformat-truncation. Although the size overflow is very unlikely, let's have a sanity check of the string size and returns the error if it really doesn't fit instead of silent truncation. Link: https://lore.kernel.org/r/20230915082802.28684-14-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