]> Gentwo Git Trees - linux/.git/commit
io_uring: fix types for region size calulation
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 5 Nov 2025 15:47:01 +0000 (15:47 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Nov 2025 18:45:07 +0000 (11:45 -0700)
commit1fd5367391bf0eeb09e624c4ab45121b54eaab96
tree76d5f4c84fb04a8d41288f3f211227cccc008888
parent819630bd6f86ac8998c7df9deddb6cee50e9e22d
io_uring: fix types for region size calulation

->nr_pages is int, it needs type extension before calculating the region
size.

Fixes: a90558b36ccee ("io_uring/memmap: helper for pinning region pages")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
[axboe: style fixup]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/memmap.c