(subset) [PATCH 0/2] scsi: fnic: fix NVMe/FC local port setup and teardown

Martin K. Petersen (Oracle) mkp at kernel.org
Wed Sep 2 20:10:07 PDT 2026


On Wed, 19 Aug 2026 19:42:40 +0800, Linmao Li wrote:

> Two small fixes to the NVMe/FC transport path added in commit 5efdd5cf9281
> ("scsi: fnic: Add the NVMe/FC transport path"), both found by reading the
> code rather than by hitting them on hardware.  They apply to
> scsi/for-next, since that code is not in mainline yet.
> 
> Patch 1 initializes struct nvme_fc_port_info in nvfnic_add_lport().
> dev_loss_tmo is currently left uninitialized on the stack.  The transport
> does not read it for a local port, so this is hygiene rather than a
> behaviour fix, and it carries no Fixes tag; nvfnic_add_tport() right below
> already memsets its own copy.
> 
> [...]

Applied to 7.3/scsi-fixes, thanks!

[1/2] scsi: fnic: initialize the NVMe local port info before registering
      https://git.kernel.org/mkp/scsi/c/98f0a1422e28

-- 
Martin K. Petersen



More information about the Linux-nvme mailing list