summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-03-01 12:03:16 -0700
committerJens Axboe <axboe@kernel.dk>2025-03-04 07:14:09 -0700
commit9e12d09cfdaf89db894abdad392bb8dcd6c0f464 (patch)
treec594f62174799b703ccc549c02a58db6aa905b67 /io_uring
parent6e83a442fbbb5f136c50feb7d137017610bc0738 (diff)
ublk: don't cast registered buffer index to int
io_buffer_register_bvec() takes index as an unsigned int argument, but ublk_register_io_buf() casts ub_cmd->addr (a u64) to int. Remove the misleading cast and instead pass index as an unsigned value to ublk_register_io_buf() and ublk_unregister_io_buf(). Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20250301190317.950208-1-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions