scsi: lpfc: Change wording of invalid pci reset log message
authorJames Smart <jsmart2021@gmail.com>
Mon, 1 Mar 2021 17:18:17 +0000 (09:18 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Mar 2021 22:37:05 +0000 (17:37 -0500)
Message 8347 Invalid device found log message is logged when an LPe12000
adapter is installed.  The log message is supposed to indicate an
unsupported pci reset adapter rather than an invalid device.

Change the wording to: Incapable PCI reset device.

Link: https://lore.kernel.org/r/20210301171821.3427-19-jsmart2021@gmail.com
Co-developed-by: Dick Kennedy <dick.kennedy@broadcom.com>
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_scsi.c

index 97178b3..36c8e17 100644 (file)
@@ -5012,7 +5012,7 @@ lpfc_check_pci_resettable(struct lpfc_hba *phba)
                        break;
                default:
                        lpfc_printf_log(phba, KERN_INFO, LOG_INIT,
-                                       "8347 Invalid device found: "
+                                       "8347 Incapable PCI reset device: "
                                        "0x%04x\n", ptr->device);
                        return -EBADSLT;
                }