linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][V2] scsi: megaraid_sas: fix spelling mistakes: "oustanding" -> "outstanding"
@ 2017-04-29 22:10 Colin King
  2017-05-04 11:23 ` Sumit Saxena
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2017-04-29 22:10 UTC (permalink / raw)
  To: Kashyap Desai, Sumit Saxena, Shivasharan S,
	James E . J . Bottomley, Martin K . Petersen, megaraidlinux.pdl
  Cc: linux-kernel

From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistakes in dev_info and scmd_printk
messages.  Also join lines on split literal string to clean up
checkpatch warning.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 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 316c3df0c3fd..0a9478fdb58b 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -2638,7 +2638,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 f990ab4d45e1..adba9f450dec 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -3975,8 +3975,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.11.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH][V2] scsi: megaraid_sas: fix spelling mistakes: "oustanding" -> "outstanding"
  2017-04-29 22:10 [PATCH][V2] scsi: megaraid_sas: fix spelling mistakes: "oustanding" -> "outstanding" Colin King
@ 2017-05-04 11:23 ` Sumit Saxena
  0 siblings, 0 replies; 2+ messages in thread
From: Sumit Saxena @ 2017-05-04 11:23 UTC (permalink / raw)
  To: Colin King, Kashyap Desai, Shivasharan Srikanteshwara,
	James E . J . Bottomley, Martin K . Petersen, PDL,MEGARAIDLINUX
  Cc: linux-kernel

>-----Original Message-----
>From: Colin King [mailto:colin.king@canonical.com]
>Sent: Sunday, April 30, 2017 3:41 AM
>To: Kashyap Desai; Sumit Saxena; Shivasharan S; James E . J . Bottomley;
>Martin K . Petersen; megaraidlinux.pdl@broadcom.com
>Cc: linux-kernel@vger.kernel.org
>Subject: [PATCH][V2] scsi: megaraid_sas: fix spelling mistakes:
"oustanding"
>-> "outstanding"
>
>From: Colin Ian King <colin.king@canonical.com>
>
>trivial fix to spelling mistakes in dev_info and scmd_printk messages.
Also
>join lines on split literal string to clean up checkpatch warning.
>
>Signed-off-by: Colin Ian King <colin.king@canonical.com>
>---
> 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 316c3df0c3fd..0a9478fdb58b 100644
>--- a/drivers/scsi/megaraid/megaraid_sas_base.c
>+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
>@@ -2638,7 +2638,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 f990ab4d45e1..adba9f450dec 100644
>--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
>+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
>@@ -3975,8 +3975,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;
> 	}
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>

>--
>2.11.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-04 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-29 22:10 [PATCH][V2] scsi: megaraid_sas: fix spelling mistakes: "oustanding" -> "outstanding" Colin King
2017-05-04 11:23 ` Sumit Saxena

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).