scsi: lpfc: Fix FDMI fc4type for nvme support
authorJames Smart <jsmart2021@gmail.com>
Wed, 22 May 2019 00:49:08 +0000 (17:49 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 18 Jun 2019 23:46:22 +0000 (19:46 -0400)
commit93f647f93df14742923133582ad603bf35628e92
treec5f7db3c79374a86f9cf325960bbfb5be75be041
parent996a02aeb959414378ea6c620934450944f8c5db
scsi: lpfc: Fix FDMI fc4type for nvme support

FDMI protocol support registration was not accurately showing nvme
support. The fcponly-path clears the parameter object.

Move the code out of the fcponly code path.  Fix the FDMI registration data
to properly check for nvme support.  Commonize the manner in which the fdmi
routines set protocol support.

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>
drivers/scsi/lpfc/lpfc_ct.c