scsi: lpfc: Fix fc4type information for FDMI
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Mar 2019 23:30:21 +0000 (16:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:45:20 +0000 (06:45 -0700)
commitb4b9413c16feced6854aa69db83137a33df56089
tree592b14fc55a2e6ba1b55a6b1b679226c0d35066d
parentcc047054a1306af8830571dadc1fa8fff0f50a76
scsi: lpfc: Fix fc4type information for FDMI

[ Upstream commit 32a80c093b524a0682f1c6166c910387b116ffce ]

The driver is reporting support for NVME even when not configured for NVME
operation.

Fix (and make more readable) when NVME protocol support is indicated.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/lpfc/lpfc_ct.c