[PATCH] nvmet: nvmet_sq_init(): fix use of uninitialized variable

Keith Busch kbusch at kernel.org
Fri May 9 17:10:38 PDT 2025


On Sat, May 10, 2025 at 09:59:05AM +1000, Wilfred Mallawa wrote:
> From: Wilfred Mallawa <wilfred.mallawa at wdc.com>
> 
> This fixes a bug where an uninitialized return value is used in
> nvmet_sq_init().
> 
> Fixes: 206372d7c565 ("nvmet: support completion queue sharing")
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202505091619.QFU1fxsd-lkp@intel.com/
> Signed-off-by: Wilfred Mallawa <wilfred.mallawa at wdc.com>

Thanks for tagging to report! Looks good.

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



More information about the Linux-nvme mailing list