]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring: use mem_is_zero to check ring params
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 10 Nov 2025 13:04:51 +0000 (13:04 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 11 Nov 2025 14:53:33 +0000 (07:53 -0700)
commit01405895c1e7d950964bebc8e4b0fc7aa77de24c
tree5da20087b3bf9146321f9aef296f50d2dbdcecf9
parent7bb21a52e2d435b9edffe3b40264ab4462e338e0
io_uring: use mem_is_zero to check ring params

mem_is_zero() does the job without hand rolled loops, use that to verify
reserved fields of ring params.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c