linux/drivers/block
Caleb Sander Mateos 9e12d09cfd 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>
2025-03-04 07:14:09 -07:00
..
aoe block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
drbd block-6.12-20241018 2024-10-18 15:53:00 -07:00
mtip32xx block: remove BLK_MQ_F_SHOULD_MERGE 2024-12-23 08:17:23 -07:00
null_blk block: remove BLK_MQ_F_NO_SCHED 2025-01-06 07:37:41 -07:00
rnbd block: remove BLK_MQ_F_SHOULD_MERGE 2024-12-23 08:17:23 -07:00
xen-blkback xen/blkback: convert timeouts to secs_to_jiffies() 2025-01-12 20:21:03 -08:00
zram zram: remove zcomp_stream_put() from write_incompressible_page() 2025-01-25 20:22:45 -08:00
amiflop.c block: remove BLK_MQ_F_SHOULD_MERGE 2024-12-23 08:17:23 -07:00
ataflop.c block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
brd.c brd: decrease the number of allocated pages which discarded 2024-11-29 08:43:52 -07:00
floppy.c block: remove BLK_MQ_F_SHOULD_MERGE 2024-12-23 08:17:23 -07:00
Kconfig reiserfs: The last commit 2024-10-21 16:29:38 +02:00
loop.c block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
Makefile rust: block: add rnull, Rust null_blk implementation 2024-06-14 07:45:04 -06:00
n64cart.c block: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -06:00
nbd.c block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
pktcdvd.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ps3disk.c ps3disk: Do not use dev->bounce_size before it is set 2025-01-03 11:44:25 -07:00
ps3vram.c block: pass a queue_limits argument to blk_alloc_disk 2024-02-19 16:58:23 -07:00
rbd_types.h
rbd.c block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
rnull.rs block: rnull: Initialize the module in place 2024-12-23 08:17:23 -07:00
sunvdc.c block-6.14-20250207 2025-02-07 11:00:33 -08:00
swim_asm.S
swim.c block: remove BLK_MQ_F_SHOULD_MERGE 2024-12-23 08:17:23 -07:00
swim3.c block: force noio scope in blk_mq_freeze_queue 2025-01-31 07:20:08 -07:00
ublk_drv.c ublk: don't cast registered buffer index to int 2025-03-04 07:14:09 -07:00
virtio_blk.c block-6.14-20250131 2025-01-31 11:49:30 -08:00
xen-blkfront.c block: remove BLK_MQ_F_SHOULD_MERGE 2024-12-23 08:17:23 -07:00
z2ram.c block: remove BLK_MQ_F_SHOULD_MERGE 2024-12-23 08:17:23 -07:00