summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGyeyoung Baek <gye976@gmail.com>2026-04-19 16:17:16 +0900
committerSteven Price <steven.price@arm.com>2026-05-07 14:52:55 +0100
commit459d75523b71c0ec254d153d8850d0b7008af396 (patch)
treeab4f639fae793d320dbe3af5fddf69cd039d25af /tools/perf/scripts/python
parent74570e12b4705ea11dcdfbfbd0a0b0fdaeff3059 (diff)
downloadlinux-459d75523b71c0ec254d153d8850d0b7008af396.tar.gz
linux-459d75523b71c0ec254d153d8850d0b7008af396.zip
drm/panfrost: Fix wait_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. panfrost_ioctl_wait_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: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver") Cc: stable@vger.kernel.org Signed-off-by: Gyeyoung Baek <gye976@gmail.com> Reviewed-by: Adrián Larumbe <adrian.larumbe@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Steven Price <steven.price@arm.com> Link: https://patch.msgid.link/fe33f82fded7be1c18e2e0eb2db451d5a738cf39.1776581974.git.gye976@gmail.com Signed-off-by: Steven Price <steven.price@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions