summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-04-10 13:59:02 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2025-04-14 11:19:19 +0300
commit895452ae48c1e179df509b6184227a5ea40b4f38 (patch)
treef533cd7bd1b712baf7b1d93d6a8b69965a681c7b /tools/perf/scripts/python/stackcollapse.py
parent89323678d8280f4f8e5971124d3aef8a6dfece0a (diff)
downloadlinux-895452ae48c1e179df509b6184227a5ea40b4f38.tar.xz
drm/udl: Handle errors from usb_get_descriptor()
Reading the vendor descriptor from the udl device can fail with an error, which the current code fails to capture. Store the return value in an integer and test for the error. Abort parsing on errors or treat the value as length on success. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Link: https://lore.kernel.org/r/20250410105948.25463-6-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions