summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-11-20 12:15:05 +0300
committerJens Axboe <axboe@kernel.dk>2024-11-20 18:01:59 +0300
commit2ae6bdb1e145af0a47253953132decbd2d52f4b2 (patch)
tree197909f31b8b170c6749d33a09bbc5536d505699 /tools/perf/scripts/python/task-analyzer.py
parente358e09a894dbcd51fdbbcf62bec1df249915834 (diff)
downloadlinux-2ae6bdb1e145af0a47253953132decbd2d52f4b2.tar.xz
io_uring/region: return negative -E2BIG in io_create_region()
This code accidentally returns positivie E2BIG instead of negative -E2BIG. The callers treat negatives and positives the same so this doesn't affect the kernel. The error code is returned to userspace via the system call. Fixes: dfbbfbf19187 ("io_uring: introduce concept of memory regions") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/d8ea3bef-74d8-4f77-8223-6d36464dd4dc@stanley.mountain Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions