linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: Mundane spelling fixes in the file qla1280.c
@ 2021-03-15  2:16 Bhaskar Chowdhury
  2021-03-15  2:25 ` Randy Dunlap
  2021-03-19  3:46 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-15  2:16 UTC (permalink / raw)
  To: mdr, jejb, martin.petersen, linux-scsi, linux-kernel
  Cc: rdunlap, Bhaskar Chowdhury


s/quantites/quantities/
s/Unfortunely/Unfortunately/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 drivers/scsi/qla1280.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index 46de2541af25..95008811b2d2 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -633,13 +633,13 @@ static int qla1280_read_nvram(struct scsi_qla_host *ha)
 	 * to be read a word (two bytes) at a time.
 	 *
 	 * The net result of this would be that the word (and
-	 * doubleword) quantites in the firmware would be correct, but
+	 * doubleword) quantities in the firmware would be correct, but
 	 * the bytes would be pairwise reversed.  Since most of the
-	 * firmware quantites are, in fact, bytes, we do an extra
+	 * firmware quantities are, in fact, bytes, we do an extra
 	 * le16_to_cpu() in the firmware read routine.
 	 *
 	 * The upshot of all this is that the bytes in the firmware
-	 * are in the correct places, but the 16 and 32 bit quantites
+	 * are in the correct places, but the 16 and 32 bit quantities
 	 * are still in little endian format.  We fix that up below by
 	 * doing extra reverses on them */
 	nv->isp_parameter = cpu_to_le16(nv->isp_parameter);
@@ -687,7 +687,7 @@ qla1280_info(struct Scsi_Host *host)
  * The mid-level driver tries to ensures that queuecommand never gets invoked
  * concurrently with itself or the interrupt handler (although the
  * interrupt handler may call this routine as part of request-completion
- * handling).   Unfortunely, it sometimes calls the scheduler in interrupt
+ * handling).   Unfortunately, it sometimes calls the scheduler in interrupt
  * context which is a big NO! NO!.
  **************************************************************************/
 static int
--
2.30.2


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

* Re: [PATCH] scsi: Mundane spelling fixes in the file qla1280.c
  2021-03-15  2:16 [PATCH] scsi: Mundane spelling fixes in the file qla1280.c Bhaskar Chowdhury
@ 2021-03-15  2:25 ` Randy Dunlap
  2021-03-19  3:46 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-03-15  2:25 UTC (permalink / raw)
  To: Bhaskar Chowdhury, mdr, jejb, martin.petersen, linux-scsi, linux-kernel

On 3/14/21 7:16 PM, Bhaskar Chowdhury wrote:
> 
> s/quantites/quantities/
> s/Unfortunely/Unfortunately/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

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


> ---
>  drivers/scsi/qla1280.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
> index 46de2541af25..95008811b2d2 100644
> --- a/drivers/scsi/qla1280.c
> +++ b/drivers/scsi/qla1280.c
> @@ -633,13 +633,13 @@ static int qla1280_read_nvram(struct scsi_qla_host *ha)
>  	 * to be read a word (two bytes) at a time.
>  	 *
>  	 * The net result of this would be that the word (and
> -	 * doubleword) quantites in the firmware would be correct, but
> +	 * doubleword) quantities in the firmware would be correct, but
>  	 * the bytes would be pairwise reversed.  Since most of the
> -	 * firmware quantites are, in fact, bytes, we do an extra
> +	 * firmware quantities are, in fact, bytes, we do an extra
>  	 * le16_to_cpu() in the firmware read routine.
>  	 *
>  	 * The upshot of all this is that the bytes in the firmware
> -	 * are in the correct places, but the 16 and 32 bit quantites
> +	 * are in the correct places, but the 16 and 32 bit quantities
>  	 * are still in little endian format.  We fix that up below by
>  	 * doing extra reverses on them */
>  	nv->isp_parameter = cpu_to_le16(nv->isp_parameter);
> @@ -687,7 +687,7 @@ qla1280_info(struct Scsi_Host *host)
>   * The mid-level driver tries to ensures that queuecommand never gets invoked
>   * concurrently with itself or the interrupt handler (although the
>   * interrupt handler may call this routine as part of request-completion
> - * handling).   Unfortunely, it sometimes calls the scheduler in interrupt
> + * handling).   Unfortunately, it sometimes calls the scheduler in interrupt
>   * context which is a big NO! NO!.
>   **************************************************************************/
>  static int
> --


-- 
~Randy


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

* Re: [PATCH] scsi: Mundane spelling fixes in the file qla1280.c
  2021-03-15  2:16 [PATCH] scsi: Mundane spelling fixes in the file qla1280.c Bhaskar Chowdhury
  2021-03-15  2:25 ` Randy Dunlap
@ 2021-03-19  3:46 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2021-03-19  3:46 UTC (permalink / raw)
  To: Bhaskar Chowdhury, mdr, linux-kernel, linux-scsi, jejb
  Cc: Martin K . Petersen, rdunlap

On Mon, 15 Mar 2021 07:46:10 +0530, Bhaskar Chowdhury wrote:

> s/quantites/quantities/
> s/Unfortunely/Unfortunately/

Applied to 5.13/scsi-queue, thanks!

[1/1] scsi: Mundane spelling fixes in the file qla1280.c
      https://git.kernel.org/mkp/scsi/c/1bf5fa1a2916

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2021-03-19  3:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15  2:16 [PATCH] scsi: Mundane spelling fixes in the file qla1280.c Bhaskar Chowdhury
2021-03-15  2:25 ` Randy Dunlap
2021-03-19  3:46 ` 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).