scsi: lpfc: Fix NVMe support reporting in log message
authorJames Smart <jsmart2021@gmail.com>
Wed, 7 Jul 2021 18:43:32 +0000 (11:43 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 19 Jul 2021 02:30:34 +0000 (22:30 -0400)
commitae463b60235e7a5decffbb0bd7209952ccda78eb
tree9d06a7f56872bcc0fd4d4d22577f75399303e6bd
parent904b5bfaa8fe2be032ea81ee95fa28efe21fbef0
scsi: lpfc: Fix NVMe support reporting in log message

The NVMe support indicator in log message 6422 is displaying a field that
was initialized but never set to indicate NVMe support.  Remove obsolete
nvme_support element from the lpfc_hba structure and change log message to
display NVMe support status as reported in SLI4 Config Parameters mailbox
command.

Link: https://lore.kernel.org/r/20210707184351.67872-2-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_init.c