Re: [PATCH v2 4/9] ublk: take const ubq pointer in ublk_get_iod()

From: Ming Lei
Date: Fri May 02 2025 - 09:39:44 EST


On Wed, Apr 30, 2025 at 04:52:29PM -0600, Caleb Sander Mateos wrote:
> ublk_get_iod() doesn't modify the struct ublk_queue it is passed.
> Clarify that by making the argument a const pointer.
>
> Move the function definition earlier in the file so it doesn't need a
> forward declaration.
>
> Signed-off-by: Caleb Sander Mateos <csander@xxxxxxxxxxxxxxx>

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>


thanks,
Ming