Files
linux/io_uring/memmap.c
Pavel Begunkov fe9cf295ba io_uring: fix types for region size calulation
[ Upstream commit 1fd5367391 ]

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

Fixes: a90558b36c ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-11-13 15:37:44 -05:00

10 KiB