summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2025-05-02 09:09:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-02 09:28:54 +0200
commit4e77d3ec7c7c0d9535ccf1138827cb9bb5480b9b (patch)
tree35f2de1f020391e26985c9d9de8c38810bbdf60b /tools/perf/scripts/python/task-analyzer.py
parenta9747c9b8b59ab4207effd20eb91a890acb44e16 (diff)
usb: usbtmc: Fix erroneous generic_read ioctl return
wait_event_interruptible_timeout returns a long The return value was being assigned to an int causing an integer overflow when the remaining jiffies > INT_MAX which resulted in random error returns. Use a long return value, converting to the int ioctl return only on error. Fixes: bb99794a4792 ("usb: usbtmc: Add ioctl for vendor specific read") Cc: stable@vger.kernel.org Signed-off-by: Dave Penkler <dpenkler@gmail.com> Link: https://lore.kernel.org/r/20250502070941.31819-4-dpenkler@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions