2021-05-05 04:18:58

by Sean Gloumeau

[permalink] [raw]
Subject: [PATCH 0/3] Fix spelling errors of words with stem "eliminat"

I happened upon a spelling error in v5.5 of the kernel for "eleminating"
in miscdevice.h. After grepping in linux-next I realized that this
error was fixed in miscdevice.h, but found related errors for words
sharing the stem "eliminat". These patches aim to amend these spelling
mistakes, and add entries to scripts/spelling.txt to avoid adding
similar spelling mistakes to the remote in the future.

Sean Gloumeau (3):
Fix spelling error from "eleminate" to "eliminate"
Fix spelling error from "elemination" to "elimination"
Add entries for words with stem "eleminat"

drivers/net/ethernet/brocade/bna/bnad.c | 2 +-
fs/jffs2/debug.c | 2 +-
scripts/spelling.txt | 3 +++
3 files changed, 5 insertions(+), 2 deletions(-)


base-commit: 9a9aa07ae18be3b77ba132a6eff3a92c9b83e016
--
2.31.1


2021-05-05 04:22:30

by Sean Gloumeau

[permalink] [raw]
Subject: [PATCH 2/3] Fix spelling error from "elemination" to "elimination"

Spelling error "elemination" amended to "elimination".

Signed-off-by: Sean Gloumeau <[email protected]>
---
fs/jffs2/debug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
index 9d26b1b9fc01..027e4f84df28 100644
--- a/fs/jffs2/debug.c
+++ b/fs/jffs2/debug.c
@@ -354,7 +354,7 @@ __jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info *c,
}

#if 0
- /* This should work when we implement ref->__totlen elemination */
+ /* This should work when we implement ref->__totlen elimination */
if (my_dirty_size != jeb->dirty_size + jeb->wasted_size) {
JFFS2_ERROR("Calculated dirty+wasted size %#08x != stored dirty + wasted size %#08x\n",
my_dirty_size, jeb->dirty_size + jeb->wasted_size);
--
2.31.1

2021-05-05 04:29:50

by Sean Gloumeau

[permalink] [raw]
Subject: [PATCH 3/3] Add entries for words with stem "eleminat"

Entries are added to spelling.txt in order to prevent spelling mistakes
involving words with stem "eliminat" from occurring again.

Signed-off-by: Sean Gloumeau <[email protected]>
---
scripts/spelling.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 7b6a01291598..e657be5aa2a9 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -548,6 +548,9 @@ ehther||ether
eigth||eight
elementry||elementary
eletronic||electronic
+eleminate||eliminate
+eleminating||eliminating
+elemination||elimination
embeded||embedded
enabledi||enabled
enbale||enable
--
2.31.1

2021-05-05 04:53:54

by Sean Gloumeau

[permalink] [raw]
Subject: [PATCH 1/3] Fix spelling error from "eleminate" to "eliminate"

Spelling error "eleminate" amended to "eliminate".

Signed-off-by: Sean Gloumeau <[email protected]>
---
drivers/net/ethernet/brocade/bna/bnad.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/brocade/bna/bnad.c b/drivers/net/ethernet/brocade/bna/bnad.c
index 7e4e831d720f..ba47777d9cff 100644
--- a/drivers/net/ethernet/brocade/bna/bnad.c
+++ b/drivers/net/ethernet/brocade/bna/bnad.c
@@ -1764,7 +1764,7 @@ bnad_dim_timeout(struct timer_list *t)
}
}

- /* Check for BNAD_CF_DIM_ENABLED, does not eleminate a race */
+ /* Check for BNAD_CF_DIM_ENABLED, does not eliminate a race */
if (test_bit(BNAD_RF_DIM_TIMER_RUNNING, &bnad->run_flags))
mod_timer(&bnad->dim_timer,
jiffies + msecs_to_jiffies(BNAD_DIM_TIMER_FREQ));
--
2.31.1

2021-05-05 08:43:55

by Kieran Bingham

[permalink] [raw]
Subject: Re: [PATCH 2/3] Fix spelling error from "elemination" to "elimination"

Hi Sean,

On 05/05/2021 05:16, Sean Gloumeau wrote:
> Spelling error "elemination" amended to "elimination".
>
> Signed-off-by: Sean Gloumeau <[email protected]>

Reviewed-by: Kieran Bingham <[email protected]>

> ---
> fs/jffs2/debug.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
> index 9d26b1b9fc01..027e4f84df28 100644
> --- a/fs/jffs2/debug.c
> +++ b/fs/jffs2/debug.c
> @@ -354,7 +354,7 @@ __jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info *c,
> }
>
> #if 0
> - /* This should work when we implement ref->__totlen elemination */
> + /* This should work when we implement ref->__totlen elimination */

I wonder if anyone has worked on or is working on eliminating that
ref->__totlen so that this code isn't left as dead-code.


> if (my_dirty_size != jeb->dirty_size + jeb->wasted_size) {
> JFFS2_ERROR("Calculated dirty+wasted size %#08x != stored dirty + wasted size %#08x\n",
> my_dirty_size, jeb->dirty_size + jeb->wasted_size);
>

2021-05-05 08:45:22

by Kieran Bingham

[permalink] [raw]
Subject: Re: [PATCH 3/3] Add entries for words with stem "eleminat"

Hi Sean,

On 05/05/2021 05:17, Sean Gloumeau wrote:
> Entries are added to spelling.txt in order to prevent spelling mistakes
> involving words with stem "eliminat" from occurring again.
>
> Signed-off-by: Sean Gloumeau <[email protected]>
> ---
> scripts/spelling.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/spelling.txt b/scripts/spelling.txt
> index 7b6a01291598..e657be5aa2a9 100644
> --- a/scripts/spelling.txt
> +++ b/scripts/spelling.txt
> @@ -548,6 +548,9 @@ ehther||ether
> eigth||eight
> elementry||elementary
> eletronic||electronic
> +eleminate||eliminate
> +eleminating||eliminating
> +elemination||elimination

These should be kept in alphabetical order I believe.

> embeded||embedded
> enabledi||enabled
> enbale||enable
>

2021-05-05 09:21:40

by Kieran Bingham

[permalink] [raw]
Subject: Re: [PATCH 1/3] Fix spelling error from "eleminate" to "eliminate"

Hi Sean,

Thank you for the patch,

On 05/05/2021 05:15, Sean Gloumeau wrote:
> Spelling error "eleminate" amended to "eliminate".

Reviewed-by: Kieran Bingham <[email protected]>

> Signed-off-by: Sean Gloumeau <[email protected]>
> ---
> drivers/net/ethernet/brocade/bna/bnad.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/brocade/bna/bnad.c b/drivers/net/ethernet/brocade/bna/bnad.c
> index 7e4e831d720f..ba47777d9cff 100644
> --- a/drivers/net/ethernet/brocade/bna/bnad.c
> +++ b/drivers/net/ethernet/brocade/bna/bnad.c
> @@ -1764,7 +1764,7 @@ bnad_dim_timeout(struct timer_list *t)
> }
> }
>
> - /* Check for BNAD_CF_DIM_ENABLED, does not eleminate a race */
> + /* Check for BNAD_CF_DIM_ENABLED, does not eliminate a race */
> if (test_bit(BNAD_RF_DIM_TIMER_RUNNING, &bnad->run_flags))
> mod_timer(&bnad->dim_timer,
> jiffies + msecs_to_jiffies(BNAD_DIM_TIMER_FREQ));>

2021-05-05 17:43:28

by Sean Gloumeau

[permalink] [raw]
Subject: [PATCH v2 3/3] Add entries for words with stem "eleminat"

Entries are added to spelling.txt in order to prevent spelling mistakes
involving words with stem "eliminat" from occurring again.

Signed-off-by: Sean Gloumeau <[email protected]>
---
scripts/spelling.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 7b6a01291598..4400f71a100c 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -547,6 +547,9 @@ efficently||efficiently
ehther||ether
eigth||eight
elementry||elementary
+eleminate||eliminate
+eleminating||eliminating
+elemination||elimination
eletronic||electronic
embeded||embedded
enabledi||enabled
--
2.31.1

2021-05-05 21:56:50

by Sean Gloumeau

[permalink] [raw]
Subject: [PATCH v2] Add entries for words with stem "eleminat"

Entries are added to spelling.txt in order to prevent spelling mistakes
involving words with stem "eliminat" from occurring again.

Signed-off-by: Sean Gloumeau <[email protected]>
---
scripts/spelling.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 7b6a01291598..4400f71a100c 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -547,6 +547,9 @@ efficently||efficiently
ehther||ether
eigth||eight
elementry||elementary
+eleminate||eliminate
+eleminating||eliminating
+elemination||elimination
eletronic||electronic
embeded||embedded
enabledi||enabled
--
2.31.1