aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-11-20 09:15:05 +0000
committerJens Axboe <[email protected]>2024-11-20 15:01:59 +0000
commit2ae6bdb1e145af0a47253953132decbd2d52f4b2 (patch)
tree197909f31b8b170c6749d33a09bbc5536d505699 /drivers/cdx/controller/cdx_controller.c
parentio_uring: protect register tracing (diff)
downloadkernel-2ae6bdb1e145af0a47253953132decbd2d52f4b2.tar.gz
kernel-2ae6bdb1e145af0a47253953132decbd2d52f4b2.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions