[PATCH v2 7/9] nvmet: remove unreachable "pcie" entry from the address family map

Christoph Hellwig hch at lst.de
Fri Nov 6 02:37:54 PST 2026


On Fri, Nov 06, 2026 at 10:27:34AM +0800, Guixin Liu wrote:
> The first entry of nvmet_addr_family[] is never matched: both the
> adrfam show and store handlers skip index 0, and the
> NVMF_ADDR_FAMILY_PCI type is matched by the "pci" entry further down
> the array. Drop the entry and start the iteration at index 0 so the
> map no longer needs an explanation for the skipped element.

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the Linux-nvme mailing list