[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174109778621.2730103.3690369290810043076.b4-ty@kernel.dk>
Date: Tue, 04 Mar 2025 07:16:26 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Ming Lei <ming.lei@...hat.com>,
Caleb Sander Mateos <csander@...estorage.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ublk: don't cast registered buffer index to int
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
Powered by blists - more mailing lists