]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: correct fill events helpers types
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 4 Oct 2021 19:03:00 +0000 (20:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:55 +0000 (05:49 -0600)
commite15612a37f2ffcbbcdecff820c942c6d99cca3ee
tree757de5633f4116fa1758a5f0b03f54c7423dfc25
parent7178a29c85c9dda53f497e9f414c423fda9641d1
io_uring: correct fill events helpers types

CQE result is a 32-bit integer, so the functions generating CQEs are
better to accept not long but ints. Convert io_cqring_fill_event() and
other helpers.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/7ca6f15255e9117eae28adcac272744cae29b113.1633373302.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c