[PATCH 1/5] nvme-fabrics: use consistent zeroout pattern

Keith Busch kbusch at kernel.org
Thu Jan 13 08:15:38 PST 2022


On Tue, Jan 11, 2022 at 10:20:57PM -0800, Chaitanya Kulkarni wrote:
> From: Chaitanya Kulkarni <kch at nvidia.com>
> 
> Remove zeroout memeset call & zeroout local variable cmd at the time
> of declaration in nvmf_ref_read32() similar to what we have done in
> nvmf_reg_read64(), nvmf_reg_write32(), nvmf_connect_admin_queue(), and
> nvmf_connect_io_queue().
> 
> Signed-off-by: Chaitanya Kulkarni <kch at nvidia.com>

Looks good.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list