Skip to contentSkip to conversation

lpfc 8.3.35: Fixed messages for misconfigured port errors

PATCH New James Smart 1 participant 1 message Sep 29, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 11/16 lpfc 8.3.35: Fixed messages for misconfigured port errors

Fixed messages for misconfigured port errors to be consistent for
all OS platforms (108240)

---

 lpfc_init.c |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
drivers/scsi/lpfc/lpfc_init.c +7 -3
diff -upNr a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
@@ -3783,14 +3783,18 @@ lpfc_sli4_async_sli_evt(struct lpfc_hba
 	case LPFC_SLI_EVENT_STATUS_VALID:
 		return; /* no message if the sfp is okay */
 	case LPFC_SLI_EVENT_STATUS_NOT_PRESENT:
-		sprintf(message, "Not installed");
+		sprintf(message, "Optics faulted/incorrectly installed/not " \
+				"installed - Reseat optics, if issue not "
+				"resolved, replace.");
 		break;
 	case LPFC_SLI_EVENT_STATUS_WRONG_TYPE:
 		sprintf(message,
-			"Optics of two types installed");
+			"Optics of two types installed - Remove one optic or " \
+			"install matching pair of optics.");
 		break;
 	case LPFC_SLI_EVENT_STATUS_UNSUPPORTED:
-		sprintf(message, "Incompatible optics");
+		sprintf(message, "Incompatible optics - Replace with " \
+				"compatible optics for card to function.");
 		break;
 	default:
 		/* firmware is reporting a status we don't know about */