linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: megaraid_sas: fix some spelling mistakes in comment
@ 2022-11-24  9:25 Yu Zhe
  2022-11-24 16:21 ` Randy Dunlap
  2022-11-25  2:07 ` [PATCH v2] " Yu Zhe
  0 siblings, 2 replies; 5+ messages in thread
From: Yu Zhe @ 2022-11-24  9:25 UTC (permalink / raw)
  To: kashyap.desai, sumit.saxena, shivasharan.srikanteshwara, jejb,
	martin.petersen
  Cc: megaraidlinux.pdl, linux-scsi, linux-kernel, kernel-janitors,
	liqiong, Yu Zhe

Fix typos in comment.

Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
---
 drivers/scsi/megaraid/megaraid_sas_fusion.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 6650f8c8e9b0..c53c29a0a018 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -80,7 +80,7 @@ static void megasas_fusion_crash_dump(struct megasas_instance *instance);
  * @ocr_context:			If called from OCR context this will
  *					be set to 1, else 0
  *
- * This function initates a chip reset followed by a wait for controller to
+ * This function initiates a chip reset followed by a wait for controller to
  * transition to ready state.
  * During this, driver will block all access to PCI config space from userspace
  */
@@ -334,7 +334,7 @@ megasas_fire_cmd_fusion(struct megasas_instance *instance,
  *
  * This function is only for fusion controllers.
  * Update host can queue, if firmware downgrade max supported firmware commands.
- * Firmware upgrade case will be skiped because underlying firmware has
+ * Firmware upgrade case will be skipped because underlying firmware has
  * more resource than exposed to the OS.
  *
  */
@@ -2588,7 +2588,7 @@ static void megasas_stream_detect(struct megasas_instance *instance,
 			if ((io_info->ldStartBlock != current_sd->next_seq_lba)	&&
 			    ((!io_info->isRead) || (!is_read_ahead)))
 				/*
-				 * Once the API availible we need to change this.
+				 * Once the API available we need to change this.
 				 * At this point we are not allowing any gap
 				 */
 				continue;
@@ -4650,7 +4650,7 @@ megasas_issue_tm(struct megasas_instance *instance, u16 device_handle,
 }
 
 /*
- * megasas_fusion_smid_lookup : Look for fusion command correpspodning to SCSI
+ * megasas_fusion_smid_lookup : Look for fusion command corresponding to SCSI
  * @instance: per adapter struct
  *
  * Return Non Zero index, if SMID found in outstanding commands
-- 
2.11.0


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

* Re: [PATCH] scsi: megaraid_sas: fix some spelling mistakes in comment
  2022-11-24  9:25 [PATCH] scsi: megaraid_sas: fix some spelling mistakes in comment Yu Zhe
@ 2022-11-24 16:21 ` Randy Dunlap
  2022-11-25  2:07 ` [PATCH v2] " Yu Zhe
  1 sibling, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2022-11-24 16:21 UTC (permalink / raw)
  To: Yu Zhe, kashyap.desai, sumit.saxena, shivasharan.srikanteshwara,
	jejb, martin.petersen
  Cc: megaraidlinux.pdl, linux-scsi, linux-kernel, kernel-janitors, liqiong

Hi--

These changes all look good.
One small nit below:

On 11/24/22 01:25, Yu Zhe wrote:
> Fix typos in comment.
> 
> Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
> ---
>  drivers/scsi/megaraid/megaraid_sas_fusion.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
> index 6650f8c8e9b0..c53c29a0a018 100644
> --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
> +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
> @@ -80,7 +80,7 @@ static void megasas_fusion_crash_dump(struct megasas_instance *instance);
>   * @ocr_context:			If called from OCR context this will
>   *					be set to 1, else 0
>   *
> - * This function initates a chip reset followed by a wait for controller to
> + * This function initiates a chip reset followed by a wait for controller to
>   * transition to ready state.
>   * During this, driver will block all access to PCI config space from userspace
>   */
> @@ -334,7 +334,7 @@ megasas_fire_cmd_fusion(struct megasas_instance *instance,
>   *
>   * This function is only for fusion controllers.
>   * Update host can queue, if firmware downgrade max supported firmware commands.
> - * Firmware upgrade case will be skiped because underlying firmware has
> + * Firmware upgrade case will be skipped because underlying firmware has
>   * more resource than exposed to the OS.
>   *
>   */
> @@ -2588,7 +2588,7 @@ static void megasas_stream_detect(struct megasas_instance *instance,
>  			if ((io_info->ldStartBlock != current_sd->next_seq_lba)	&&
>  			    ((!io_info->isRead) || (!is_read_ahead)))
>  				/*
> -				 * Once the API availible we need to change this.
> +				 * Once the API available we need to change this.

				 * Once the API is available we need to change this.

>  				 * At this point we are not allowing any gap
>  				 */
>  				continue;
> @@ -4650,7 +4650,7 @@ megasas_issue_tm(struct megasas_instance *instance, u16 device_handle,
>  }
>  
>  /*
> - * megasas_fusion_smid_lookup : Look for fusion command correpspodning to SCSI
> + * megasas_fusion_smid_lookup : Look for fusion command corresponding to SCSI
>   * @instance: per adapter struct
>   *
>   * Return Non Zero index, if SMID found in outstanding commands

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.
-- 
~Randy

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

* [PATCH v2] scsi: megaraid_sas: fix some spelling mistakes in comment
  2022-11-24  9:25 [PATCH] scsi: megaraid_sas: fix some spelling mistakes in comment Yu Zhe
  2022-11-24 16:21 ` Randy Dunlap
@ 2022-11-25  2:07 ` Yu Zhe
  2022-11-26  2:59   ` Martin K. Petersen
  2022-12-01  3:45   ` Martin K. Petersen
  1 sibling, 2 replies; 5+ messages in thread
From: Yu Zhe @ 2022-11-25  2:07 UTC (permalink / raw)
  To: kashyap.desai, sumit.saxena, shivasharan.srikanteshwara, jejb,
	martin.petersen
  Cc: megaraidlinux.pdl, linux-scsi, linux-kernel, kernel-janitors,
	liqiong, Yu Zhe

Fix typos in comment.

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
---
 drivers/scsi/megaraid/megaraid_sas_fusion.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 6650f8c8e9b0..fe70f8f11435 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -80,7 +80,7 @@ static void megasas_fusion_crash_dump(struct megasas_instance *instance);
  * @ocr_context:			If called from OCR context this will
  *					be set to 1, else 0
  *
- * This function initates a chip reset followed by a wait for controller to
+ * This function initiates a chip reset followed by a wait for controller to
  * transition to ready state.
  * During this, driver will block all access to PCI config space from userspace
  */
@@ -334,7 +334,7 @@ megasas_fire_cmd_fusion(struct megasas_instance *instance,
  *
  * This function is only for fusion controllers.
  * Update host can queue, if firmware downgrade max supported firmware commands.
- * Firmware upgrade case will be skiped because underlying firmware has
+ * Firmware upgrade case will be skipped because underlying firmware has
  * more resource than exposed to the OS.
  *
  */
@@ -2588,7 +2588,7 @@ static void megasas_stream_detect(struct megasas_instance *instance,
 			if ((io_info->ldStartBlock != current_sd->next_seq_lba)	&&
 			    ((!io_info->isRead) || (!is_read_ahead)))
 				/*
-				 * Once the API availible we need to change this.
+				 * Once the API is available we need to change this.
 				 * At this point we are not allowing any gap
 				 */
 				continue;
@@ -4650,7 +4650,7 @@ megasas_issue_tm(struct megasas_instance *instance, u16 device_handle,
 }
 
 /*
- * megasas_fusion_smid_lookup : Look for fusion command correpspodning to SCSI
+ * megasas_fusion_smid_lookup : Look for fusion command corresponding to SCSI
  * @instance: per adapter struct
  *
  * Return Non Zero index, if SMID found in outstanding commands
-- 
2.11.0


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

* Re: [PATCH v2] scsi: megaraid_sas: fix some spelling mistakes in comment
  2022-11-25  2:07 ` [PATCH v2] " Yu Zhe
@ 2022-11-26  2:59   ` Martin K. Petersen
  2022-12-01  3:45   ` Martin K. Petersen
  1 sibling, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2022-11-26  2:59 UTC (permalink / raw)
  To: Yu Zhe
  Cc: kashyap.desai, sumit.saxena, shivasharan.srikanteshwara, jejb,
	martin.petersen, megaraidlinux.pdl, linux-scsi, linux-kernel,
	kernel-janitors, liqiong


Yu,

> Fix typos in comment.

Applied to 6.2/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

* Re: [PATCH v2] scsi: megaraid_sas: fix some spelling mistakes in comment
  2022-11-25  2:07 ` [PATCH v2] " Yu Zhe
  2022-11-26  2:59   ` Martin K. Petersen
@ 2022-12-01  3:45   ` Martin K. Petersen
  1 sibling, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2022-12-01  3:45 UTC (permalink / raw)
  To: jejb, kashyap.desai, sumit.saxena, Yu Zhe, shivasharan.srikanteshwara
  Cc: Martin K . Petersen, liqiong, linux-kernel, megaraidlinux.pdl,
	linux-scsi, kernel-janitors

On Fri, 25 Nov 2022 10:07:03 +0800, Yu Zhe wrote:

> Fix typos in comment.
> 
> 

Applied to 6.2/scsi-queue, thanks!

[1/1] scsi: megaraid_sas: fix some spelling mistakes in comment
      https://git.kernel.org/mkp/scsi/c/76dc609556c6

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2022-12-01  3:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-24  9:25 [PATCH] scsi: megaraid_sas: fix some spelling mistakes in comment Yu Zhe
2022-11-24 16:21 ` Randy Dunlap
2022-11-25  2:07 ` [PATCH v2] " Yu Zhe
2022-11-26  2:59   ` Martin K. Petersen
2022-12-01  3:45   ` Martin K. Petersen

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).