Re: [PATCH] ublk: return unsigned from ublk_{,un}map_io()
From: Ming Lei
Date: Sat Nov 08 2025 - 09:53:19 EST
On Sat, Nov 8, 2025 at 12:23 PM Caleb Sander Mateos
<csander@xxxxxxxxxxxxxxx> wrote:
>
> ublk_map_io() and ublk_unmap_io() never return negative values, and
> their return values are stored in variables of type unsigned. Clarify
> that they can't fail by making their return types unsigned.
>
> Signed-off-by: Caleb Sander Mateos <csander@xxxxxxxxxxxxxxx>
Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>