Re: [PATCH] scsi: ibmvfc: Add Kconfig dependency to fix link failure when NVME_FC=m

From: Martin K. Petersen (Oracle)

Date: Wed Sep 16 2026 - 22:35:40 EST


On Thu, 03 Sep 2026 13:13:29 +0530, Venkat Rao Bagalkote wrote:

> Building with CONFIG_SCSI_IBMVFC=y and CONFIG_NVME_FC=m results in a
> link failure:
>
> ibmvfc-nvme.o: undefined reference to `nvme_fc_register_localport'
> ibmvfc-nvme.o: undefined reference to `nvme_fc_register_remoteport'
> ibmvfc-nvme.o: undefined reference to `nvme_fc_unregister_localport'
> ibmvfc-nvme.o: undefined reference to `nvme_fc_unregister_remoteport'
> ibmvfc-core.o: undefined reference to `nvme_fc_rescan_remoteport'
>
> [...]

Applied to 7.3/scsi-fixes, thanks!

[1/1] scsi: ibmvfc: Add Kconfig dependency to fix link failure when NVME_FC=m
https://git.kernel.org/mkp/scsi/c/1274045b0eda

--
Martin K. Petersen