Skip to contentSkip to conversation

scripts/spelling.txt: add "exsits" pattern and fix typo instances

PATCH Applied Luca Ceresoli 3 participants 4 messages Jan 26, 2023 – Jan 27, 2023

Subsystems (8)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/spelling.txt: add "exsits" pattern and fix typo instances

Fix typos and add the following to the scripts/spelling.txt:

exsits||exists

---
 drivers/infiniband/ulp/iser/iscsi_iser.c | 2 +-
 net/openvswitch/flow_table.c             | 2 +-
 scripts/spelling.txt                     | 1 +
 sound/soc/fsl/fsl-asoc-card.c            | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)
drivers/infiniband/ulp/iser/iscsi_iser.c +1 -1
index 620ae5b2d80d..6b7603765383 100644
@@ -446,7 +446,7 @@ iscsi_iser_conn_create(struct iscsi_cls_session *cls_session,
  * @is_leading:      indicate if this is the session leading connection (MCS)
  *
  * Return: zero on success, $error if iscsi_conn_bind fails and
- *         -EINVAL in case end-point doesn't exsits anymore or iser connection
+ *         -EINVAL in case end-point doesn't exists anymore or iser connection
  *         state is not UP (teardown already started).
  */
 static int iscsi_iser_conn_bind(struct iscsi_cls_session *cls_session,
net/openvswitch/flow_table.c +1 -1
index 0a0e4c283f02..cfac54cbafdf 100644
@@ -1012,7 +1012,7 @@ static int flow_mask_insert(struct flow_table *tbl, struct sw_flow *flow,
 
 	mask = flow_mask_find(tbl, new);
 	if (!mask) {
-		/* Allocate a new mask if none exsits. */
+		/* Allocate a new mask if none exists. */
 		mask = mask_alloc();
 		if (!mask)
 			return -ENOMEM;
scripts/spelling.txt +1 -0
index ded8bcfc0247..0147bd8dc6e2 100644
@@ -625,6 +625,7 @@ exeuction||execution
 existance||existence
 existant||existent
 exixt||exist
+exsits||exists
 exlcude||exclude
 exlcusive||exclusive
 exmaple||example
sound/soc/fsl/fsl-asoc-card.c +1 -1
index 8d14b5593658..2f25358196ee 100644
@@ -811,7 +811,7 @@ static int fsl_asoc_card_probe(struct platform_device *pdev)
 	priv->card.num_links = 1;
 
 	if (asrc_pdev) {
-		/* DPCM DAI Links only if ASRC exsits */
+		/* DPCM DAI Links only if ASRC exists */
 		priv->dai_link[1].cpus->of_node = asrc_np;
 		priv->dai_link[1].platforms->of_node = asrc_np;
 		priv->dai_link[2].codecs->dai_name = codec_dai_name;
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 5 lines · On Thu, 26 Jan 2023 16:22:05 +0100 Luca Ceresoli wrote:

Fix typos and add the following to the scripts/spelling.txt:

exsits||exists

You need to split this up per subsystem, I reckon :(

#2 lore raw

Hello Jakub,

thanks for our review.

Quoted 8 lines · On Thu, 26 Jan 2023 15:55:26 -0800 Jakub Kicinski <[email protected]> wrote:
Quoted 5 lines · On Thu, 26 Jan 2023 16:22:05 +0100 Luca Ceresoli wrote:

Fix typos and add the following to the scripts/spelling.txt:

exsits||exists

You need to split this up per subsystem, I reckon :(

Ironically, it was the case initially but I have squashed my commits based on several prior commits that do it together. Now I rechecked and it seems like this happened only until July 2019, so apparently the policy has changed. Will split.

Signature · 3 lines
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
Quoted 5 lines · On Fri, 27 Jan 2023 09:27:08 +0100 Luca Ceresoli <[email protected]>…
Quoted 5 lines · On Thu, 26 Jan 2023 16:22:05 +0100 Luca Ceresoli wrote:
Quoted 4 lines

Fix typos and add the following to the scripts/spelling.txt:

exsits||exists

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

You need to split this up per subsystem, I reckon :(

Ironically, it was the case initially but I have squashed my commits based on several prior commits that do it together. Now I rechecked and it seems like this happened only until July 2019, so apparently the policy has changed. Will split.

It's not worth the effort. I'll send the patch upstream as-is.