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

From: Martin K. Petersen (Oracle)

Date: Wed Sep 02 2026 - 23:10:48 EST


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