summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThorsten Blum <blum@kernel.org>2026-10-21 11:40:01 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-21 14:57:26 +0200
commit87bc966dc59ff43694f201a39983963a66be6102 (patch)
treefb541f2cab4bb6c44cbe1510df973c96b98d3206 /tools/perf/scripts/python/stackcollapse.py
parentd0bee96f846ff56e0ab93030b5f187550b882977 (diff)
downloadlwn-87bc966dc59ff43694f201a39983963a66be6102.tar.gz
lwn-87bc966dc59ff43694f201a39983963a66be6102.zip
ALSA: hiface: Use scnprintf() in hiface_chip_create()
To prepare for removing strlcat() from the kernel [1], use scnprintf() instead. Since scnprintf() returns the number of characters actually written, drop the length check before usb_make_path(). Also drop the explicit size arguments from strscpy() since they can be inferred from the destination arrays. No functional change. Link: https://github.com/KSPP/linux/issues/370 [1] Signed-off-by: Thorsten Blum <blum@kernel.org> Link: https://patch.msgid.link/20261021094002.114508-2-blum@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions