[PATCH][V2] scsi: megaraid-sas: fix spelling mistake of "outstanding"

From: Colin King
Date: Tue Nov 29 2016 - 14:14:10 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Trivial fix to spelling mistake "oustanding" to "outstanding" in
dev_info and scmd_printk messages. Also join wrapped literal
string in the scmd_printk.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/scsi/megaraid/megaraid_sas_base.c | 2 +-
drivers/scsi/megaraid/megaraid_sas_fusion.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 5462676..1470686 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -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;
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 24778ba..623e028 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -3239,8 +3239,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");
+ scmd_printk(KERN_NOTICE, scmd, "Command for which abort is issued is not found in outstanding commands\n");
mutex_unlock(&instance->reset_mutex);
goto out;
}
--
2.10.2