Re: [PATCH] ublk: don't cast registered buffer index to int
From: Jens Axboe
Date: Tue Mar 04 2025 - 09:18:49 EST
On Sat, 01 Mar 2025 12:03:16 -0700, Caleb Sander Mateos wrote:
> 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().
>
>
Applied, thanks!
[1/1] ublk: don't cast registered buffer index to int
commit: 9e12d09cfdaf89db894abdad392bb8dcd6c0f464
Best regards,
--
Jens Axboe