Skip to contentSkip to conversation

scsi: megaraid-sas: fix spelling mistake of "outstanding"

PATCH Superseded Colin King 2 participants 2 messages Nov 29, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 scsi: megaraid-sas: fix spelling mistake of "outstanding"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake "oustanding" to "outstanding" in dev_info and scmd_printk messages

---
 drivers/scsi/megaraid/megaraid_sas_base.c   | 2 +-
 drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/megaraid/megaraid_sas_base.c +1 -1
index 5462676..1470686 100644
@@ -2541,7 +2541,7 @@ static int megasas_wait_for_outstanding(struct megasas_instance *instance)
 	do {
 		if ((fw_state == MFI_STATE_FAULT) || atomic_read(&instance->fw_outstanding)) {
 			dev_info(&instance->pdev->dev,
-				"%s:%d waiting_for_outstanding: before issue OCR. FW state = 0x%x, oustanding 0x%x\n",
+				"%s:%d waiting_for_outstanding: before issue OCR. FW state = 0x%x, outstanding 0x%x\n",
 				__func__, __LINE__, fw_state, atomic_read(&instance->fw_outstanding));
 			if (i == 3)
 				goto kill_hba_and_failed;
drivers/scsi/megaraid/megaraid_sas_fusion.c +1 -1
index 24778ba..79e33bf 100644
@@ -3240,7 +3240,7 @@ int megasas_task_abort_fusion(struct scsi_cmnd *scmd)
 	if (!smid) {
 		ret = SUCCESS;
 		scmd_printk(KERN_NOTICE, scmd, "Command for which abort is"
-			" issued is not found in oustanding commands\n");
+			" issued is not found in outstanding commands\n");
 		mutex_unlock(&instance->reset_mutex);
 		goto out;
 	}
Signature · 1 line
2.10.2
#1 lore raw

drivers/scsi/megaraid/megaraid_sas_fusion.c int megasas_task_abort_fusion(struct scsi_cmnd *scmd) · line 3243

Quoted 3 lines · Colin King
drivers/scsi/megaraid/megaraid_sas_fusion.c +1 -1
 		scmd_printk(KERN_NOTICE, scmd, "Command for which abort is"
-			" issued is not found in oustanding commands\n");
+			" issued is not found in outstanding commands\n");

Hello Colin,

Since you are changing this code, please ensure that the entire error message occupies a single line such that it is easy to find with grep.

Bart.