On Fri, Aug 4, 2023 at 8:34 PM Andreas Hindborg (Samsung) <nmi@xxxxxxxxxxxx> wrote: > > From: Andreas Hindborg <a.hindborg@xxxxxxxxxxx> > > In preparation for zoned storage support, move the check for empty `addr` > field into the command handler case statement. Note that the check makes no > sense for `UBLK_IO_NEED_GET_DATA` because the `addr` field must always be > set for this command. > > Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxxx> Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx> Thanks,