summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorGyeyoung Baek <gye976@gmail.com>2026-04-19 16:17:15 +0900
committerSteven Price <steven.price@arm.com>2026-05-07 14:52:55 +0100
commit74570e12b4705ea11dcdfbfbd0a0b0fdaeff3059 (patch)
tree5ab398d319997ad30005b4094d2965db244b40d1 /tools/perf/scripts/python/parallel-perf.py
parentb15838b03cd0c6cf35651cfde62d17f14bb1d566 (diff)
downloadlinux-74570e12b4705ea11dcdfbfbd0a0b0fdaeff3059.tar.gz
linux-74570e12b4705ea11dcdfbfbd0a0b0fdaeff3059.zip
accel/rocket: Fix prep_bo ioctl leaking positive return from dma_resv_wait_timeout()
dma_resv_wait_timeout() returns a positive 'remaining jiffies' value on success, 0 on timeout, and -errno on failure. rocket_ioctl_prep_bo() returns this 'long' result from an int-typed ioctl handler, so positive values reach userspace as bogus errors. Explicitly set ret to 0 on the success path. Fixes: 525ad89dd904 ("accel/rocket: Add IOCTLs for synchronizing memory accesses") Cc: stable@vger.kernel.org Signed-off-by: Gyeyoung Baek <gye976@gmail.com> Reviewed-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> Link: https://patch.msgid.link/c0ebf83b345721701b22d8f5bc41c52c0ecf5e16.1776581974.git.gye976@gmail.com Signed-off-by: Steven Price <steven.price@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions