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

Fix typos and add the following to the scripts/spelling.txt:
exsits||exists
Signed-off-by: Luca Ceresoli luca.ceresoli@bootlin.com --- 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(-)
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index 620ae5b2d80d..6b7603765383 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.c +++ b/drivers/infiniband/ulp/iser/iscsi_iser.c @@ -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, diff --git a/net/openvswitch/flow_table.c b/net/openvswitch/flow_table.c index 0a0e4c283f02..cfac54cbafdf 100644 --- a/net/openvswitch/flow_table.c +++ b/net/openvswitch/flow_table.c @@ -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; diff --git a/scripts/spelling.txt b/scripts/spelling.txt index ded8bcfc0247..0147bd8dc6e2 100644 --- a/scripts/spelling.txt +++ b/scripts/spelling.txt @@ -625,6 +625,7 @@ exeuction||execution existance||existence existant||existent exixt||exist +exsits||exists exlcude||exclude exlcusive||exclusive exmaple||example diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index 8d14b5593658..2f25358196ee 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -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;

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
Signed-off-by: Luca Ceresoli luca.ceresoli@bootlin.com
You need to split this up per subsystem, I reckon :(

Hello Jakub,
thanks for our review.
On Thu, 26 Jan 2023 15:55:26 -0800 Jakub Kicinski kuba@kernel.org wrote:
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
Signed-off-by: Luca Ceresoli luca.ceresoli@bootlin.com
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.

On Fri, 27 Jan 2023 09:27:08 +0100 Luca Ceresoli luca.ceresoli@bootlin.com wrote:
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
Signed-off-by: Luca Ceresoli luca.ceresoli@bootlin.com
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.
participants (3)
-
Andrew Morton
-
Jakub Kicinski
-
Luca Ceresoli