linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] scsi: Fix spelling mistakes in header files
@ 2021-05-17  9:59 Zhen Lei
  2021-05-21 21:24 ` Martin K. Petersen
  2021-05-26  4:07 ` Martin K. Petersen
  0 siblings, 2 replies; 6+ messages in thread
From: Zhen Lei @ 2021-05-17  9:59 UTC (permalink / raw)
  To: Lee Duncan, Chris Leech, James E . J . Bottomley,
	Martin K . Petersen, Hannes Reinecke, Doug Gilbert, open-iscsi,
	linux-scsi
  Cc: Zhen Lei

Fix some spelling mistakes in comments:
pathes ==> paths
Resouce ==> Resource
retreived ==> retrieved
keep-alives ==> keep-alive
recevied ==> received
busses ==> buses
interruped ==> interrupted

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 include/scsi/iscsi_proto.h    | 2 +-
 include/scsi/libfc.h          | 6 +++---
 include/scsi/libfcoe.h        | 2 +-
 include/scsi/scsi_bsg_iscsi.h | 2 +-
 include/scsi/scsi_host.h      | 2 +-
 include/scsi/sg.h             | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/include/scsi/iscsi_proto.h b/include/scsi/iscsi_proto.h
index b71b5c4f418c..7b192d88f186 100644
--- a/include/scsi/iscsi_proto.h
+++ b/include/scsi/iscsi_proto.h
@@ -52,7 +52,7 @@ static inline int iscsi_sna_gte(u32 n1, u32 n2)
 }
 
 /*
- * useful common(control and data pathes) macro
+ * useful common(control and data paths) macro
  */
 #define ntoh24(p) (((p)[0] << 16) | ((p)[1] << 8) | ((p)[2]))
 #define hton24(p, v) { \
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index 9b87e1a1c646..eeb8d689ff6b 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -399,7 +399,7 @@ struct fc_seq {
  * @sid:          Source FCID
  * @did:          Destination FCID
  * @esb_stat:     ESB exchange status
- * @r_a_tov:      Resouce allocation time out value (in msecs)
+ * @r_a_tov:      Resource allocation time out value (in msecs)
  * @seq_id:       The next sequence ID to use
  * @encaps:       encapsulation information for lower-level driver
  * @f_ctl:        F_CTL flags for the sequence
@@ -668,7 +668,7 @@ enum fc_lport_event {
  * @wwnn:                  World Wide Node Name
  * @service_params:        Common service parameters
  * @e_d_tov:               Error detection timeout value
- * @r_a_tov:               Resouce allocation timeout value
+ * @r_a_tov:               Resource allocation timeout value
  * @rnid_gen:              RNID information
  * @sg_supp:               Indicates if scatter gather is supported
  * @seq_offload:           Indicates if sequence offload is supported
@@ -841,7 +841,7 @@ static inline void fc_lport_free_stats(struct fc_lport *lport)
 
 /**
  * lport_priv() - Return the private data from a local port
- * @lport: The local port whose private data is to be retreived
+ * @lport: The local port whose private data is to be retrieved
  */
 static inline void *lport_priv(const struct fc_lport *lport)
 {
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h
index fac8e89aed81..089aa1f201ac 100644
--- a/include/scsi/libfcoe.h
+++ b/include/scsi/libfcoe.h
@@ -87,7 +87,7 @@ enum fip_mode {
  * @port_ka_time:  time of next port keep-alive.
  * @ctlr_ka_time:  time of next controller keep-alive.
  * @timer:	   timer struct used for all delayed events.
- * @timer_work:	   &work_struct for doing keep-alives and resets.
+ * @timer_work:	   &work_struct for doing keep-alive and resets.
  * @recv_work:	   &work_struct for receiving FIP frames.
  * @fip_recv_list: list of received FIP frames.
  * @flogi_req:	   clone of FLOGI request sent
diff --git a/include/scsi/scsi_bsg_iscsi.h b/include/scsi/scsi_bsg_iscsi.h
index 6b8128005af8..9b1f0f424a79 100644
--- a/include/scsi/scsi_bsg_iscsi.h
+++ b/include/scsi/scsi_bsg_iscsi.h
@@ -84,7 +84,7 @@ struct iscsi_bsg_reply {
 	 */
 	uint32_t result;
 
-	/* If there was reply_payload, how much was recevied ? */
+	/* If there was reply_payload, how much was received ? */
 	uint32_t reply_payload_rcv_len;
 
 	union {
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
index d0bf88d77f02..9448225a9904 100644
--- a/include/scsi/scsi_host.h
+++ b/include/scsi/scsi_host.h
@@ -582,7 +582,7 @@ struct Scsi_Host {
 
 	/*
 	 * These three parameters can be used to allow for wide scsi,
-	 * and for host adapters that support multiple busses
+	 * and for host adapters that support multiple buses
 	 * The last two should be set to 1 more than the actual max id
 	 * or lun (e.g. 8 for SCSI parallel systems).
 	 */
diff --git a/include/scsi/sg.h b/include/scsi/sg.h
index 7327e12f3373..e1a42c2409cc 100644
--- a/include/scsi/sg.h
+++ b/include/scsi/sg.h
@@ -145,7 +145,7 @@ typedef struct sg_scsi_id { /* used by SG_GET_SCSI_ID ioctl() */
 
 typedef struct sg_req_info { /* used by SG_GET_REQUEST_TABLE ioctl() */
     char req_state;     /* 0 -> not used, 1 -> written, 2 -> ready to read */
-    char orphan;        /* 0 -> normal request, 1 -> from interruped SG_IO */
+    char orphan;        /* 0 -> normal request, 1 -> from interrupted SG_IO */
     char sg_io_owned;   /* 0 -> complete with read(), 1 -> owned by SG_IO */
     char problem;       /* 0 -> no problem detected, 1 -> error to report */
     int pack_id;        /* pack_id associated with request */
-- 
2.25.1



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

* Re: [PATCH 1/1] scsi: Fix spelling mistakes in header files
  2021-05-17  9:59 [PATCH 1/1] scsi: Fix spelling mistakes in header files Zhen Lei
@ 2021-05-21 21:24 ` Martin K. Petersen
  2021-05-26  4:07 ` Martin K. Petersen
  1 sibling, 0 replies; 6+ messages in thread
From: Martin K. Petersen @ 2021-05-21 21:24 UTC (permalink / raw)
  To: Zhen Lei
  Cc: Lee Duncan, Chris Leech, James E . J . Bottomley,
	Martin K . Petersen, Hannes Reinecke, Doug Gilbert, open-iscsi,
	linux-scsi


Zhen,

> Fix some spelling mistakes in comments:
> pathes ==> paths
> Resouce ==> Resource
> retreived ==> retrieved
> keep-alives ==> keep-alive
> recevied ==> received
> busses ==> buses
> interruped ==> interrupted

Applied to 5.14/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

* Re: [PATCH 1/1] scsi: Fix spelling mistakes in header files
  2021-05-17  9:59 [PATCH 1/1] scsi: Fix spelling mistakes in header files Zhen Lei
  2021-05-21 21:24 ` Martin K. Petersen
@ 2021-05-26  4:07 ` Martin K. Petersen
  2021-05-26 10:26   ` Aw: [EXT] " Ulrich Windl
  1 sibling, 1 reply; 6+ messages in thread
From: Martin K. Petersen @ 2021-05-26  4:07 UTC (permalink / raw)
  To: Lee Duncan, Zhen Lei, linux-scsi, Doug Gilbert, Hannes Reinecke,
	Chris Leech, James E . J . Bottomley, open-iscsi
  Cc: Martin K . Petersen

On Mon, 17 May 2021 17:59:45 +0800, Zhen Lei wrote:

> Fix some spelling mistakes in comments:
> pathes ==> paths
> Resouce ==> Resource
> retreived ==> retrieved
> keep-alives ==> keep-alive
> recevied ==> received
> busses ==> buses
> interruped ==> interrupted

Applied to 5.14/scsi-queue, thanks!

[1/1] scsi: Fix spelling mistakes in header files
      https://git.kernel.org/mkp/scsi/c/40d6b939e4df

-- 
Martin K. Petersen	Oracle Linux Engineering

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

* Aw:  [EXT] Re: [PATCH 1/1] scsi: Fix spelling mistakes in header files
  2021-05-26  4:07 ` Martin K. Petersen
@ 2021-05-26 10:26   ` Ulrich Windl
  2021-05-27  2:11     ` Leizhen (ThunderTown)
  0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Windl @ 2021-05-26 10:26 UTC (permalink / raw)
  To: open-iscsi, thunder.leizhen, dgilbert, jejb, linux-scsi

(Amazingly I also did think "busses" is correct -- seems to be a common mistake; maybe only for Germans that would pronounce "busses" differently from "buses"...)


>>> Martin K. Petersen 26.05.2021, 06:08 >>>

On Mon, 17 May 2021 17:59:45 +0800, Zhen Lei wrote:

> Fix some spelling mistakes in comments:
> pathes ==> paths
> Resouce ==> Resource
> retreived ==> retrieved
> keep-alives ==> keep-alive
> recevied ==> received
> busses ==> buses
> interruped ==> interrupted

Applied to 5.14/scsi-queue, thanks!

[1/1] scsi: Fix spelling mistakes in header files
https://git.kernel.org/mkp/scsi/c/40d6b939e4df

--
Martin K. Petersen Oracle Linux Engineering

--
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/open-iscsi/162200196243.11962.5629932935575912565.b4-ty%40oracle.com.


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

* Re: Aw: [EXT] Re: [PATCH 1/1] scsi: Fix spelling mistakes in header files
  2021-05-26 10:26   ` Aw: [EXT] " Ulrich Windl
@ 2021-05-27  2:11     ` Leizhen (ThunderTown)
  2021-05-27  2:40       ` Martin K. Petersen
  0 siblings, 1 reply; 6+ messages in thread
From: Leizhen (ThunderTown) @ 2021-05-27  2:11 UTC (permalink / raw)
  To: Ulrich Windl, open-iscsi, dgilbert, jejb, linux-scsi



On 2021/5/26 18:26, Ulrich Windl wrote:
> (Amazingly I also did think "busses" is correct -- seems to be a common mistake; maybe only for Germans that would pronounce "busses" differently from "buses"...)

I just googled: busses or buses

Busses isn't a misspelling, it's just that few people use it these days. The link below makes it clear:

https://www.merriam-webster.com/words-at-play/plural-of-bus

> 
> 
>>>> Martin K. Petersen 26.05.2021, 06:08 >>>
> 
> On Mon, 17 May 2021 17:59:45 +0800, Zhen Lei wrote:
> 
>> Fix some spelling mistakes in comments:
>> pathes ==> paths
>> Resouce ==> Resource
>> retreived ==> retrieved
>> keep-alives ==> keep-alive
>> recevied ==> received
>> busses ==> buses
>> interruped ==> interrupted
> 
> Applied to 5.14/scsi-queue, thanks!
> 
> [1/1] scsi: Fix spelling mistakes in header files
> https://git.kernel.org/mkp/scsi/c/40d6b939e4df
> 
> --
> Martin K. Petersen Oracle Linux Engineering
> 
> --
> You received this message because you are subscribed to the Google Groups "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/open-iscsi/162200196243.11962.5629932935575912565.b4-ty%40oracle.com.
> 
> 
> .
> 


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

* Re: Aw: [EXT] Re: [PATCH 1/1] scsi: Fix spelling mistakes in header files
  2021-05-27  2:11     ` Leizhen (ThunderTown)
@ 2021-05-27  2:40       ` Martin K. Petersen
  0 siblings, 0 replies; 6+ messages in thread
From: Martin K. Petersen @ 2021-05-27  2:40 UTC (permalink / raw)
  To: Leizhen (ThunderTown)
  Cc: Ulrich Windl, open-iscsi, dgilbert, jejb, linux-scsi


It's an unfortunate quirk of b4 that it quotes the description from the
original patch submission and not the message that ends up being
committed. As a result my commentary didn't make it to the list.

> Busses isn't a misspelling, it's just that few people use it these
> days.

In the context of electronics and computing "busses" still appears to be
widely in use. In any case, whether to use one or the other is up to the
author of the code in question. I only merged fixed for what was obvious
typos.

Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2021-05-27  2:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17  9:59 [PATCH 1/1] scsi: Fix spelling mistakes in header files Zhen Lei
2021-05-21 21:24 ` Martin K. Petersen
2021-05-26  4:07 ` Martin K. Petersen
2021-05-26 10:26   ` Aw: [EXT] " Ulrich Windl
2021-05-27  2:11     ` Leizhen (ThunderTown)
2021-05-27  2:40       ` 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).