Skip to contentSkip to conversation

Fix spelling errors of words with stem "eliminat"

PATCH In review Sean Gloumeau 2 participants 10 messages May 5, 2021

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

cover 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

Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/3 Fix spelling error from "eleminate" to "eliminate"

Spelling error "eleminate" amended to "eliminate".

---
 drivers/net/ethernet/brocade/bna/bnad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/brocade/bna/bnad.c +1 -1
index 7e4e831d720f..ba47777d9cff 100644
@@ -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));
Signature · 1 line
2.31.1
Reviewed-by on v1 1/3
#2 lore raw

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

Hi Sean,

Thank you for the patch,

Quoted 1 line · Sean Gloumeau

Spelling error "eleminate" amended to "eliminate".

Quoted 18 lines
---
 drivers/net/ethernet/brocade/bna/bnad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/brocade/bna/bnad.c +1 -1
index 7e4e831d720f..ba47777d9cff 100644
@@ -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));>
#3 lore raw

PATCH 2/3 Fix spelling error from "elemination" to "elimination"

In reply to Sean Gloumeau

Spelling error "elemination" amended to "elimination".

---
 fs/jffs2/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/jffs2/debug.c +1 -1
index 9d26b1b9fc01..027e4f84df28 100644
@@ -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);
Signature · 1 line
2.31.1
Reviewed-by on v1 2/3
#4 lore raw

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

Hi Sean,

Quoted 3 lines · Sean Gloumeau

Spelling error "elemination" amended to "elimination".

Quoted 9 lines
---
 fs/jffs2/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/jffs2/debug.c +0 -0
index 9d26b1b9fc01..027e4f84df28 100644

fs/jffs2/debug.c __jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info *c, · line 357

Quoted 5 lines
fs/jffs2/debug.c +1 -1
@@ -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.

Quoted 4 lines
fs/jffs2/debug.c +0 -0
 	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);
#5 lore raw

PATCH 3/3 Add entries for words with stem "eleminat"

In reply to Sean Gloumeau

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

---
 scripts/spelling.txt | 3 +++
 1 file changed, 3 insertions(+)
scripts/spelling.txt +3 -0
index 7b6a01291598..e657be5aa2a9 100644
@@ -548,6 +548,9 @@ ehther||ether
 eigth||eight
 elementry||elementary
 eletronic||electronic
+eleminate||eliminate
+eleminating||eliminating
+elemination||elimination
 embeded||embedded
 enabledi||enabled
 enbale||enable
Signature · 1 line
2.31.1
#6 lore raw

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

Hi Sean,

Quoted 13 lines · Sean Gloumeau

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

---
 scripts/spelling.txt | 3 +++
 1 file changed, 3 insertions(+)
scripts/spelling.txt +0 -0
index 7b6a01291598..e657be5aa2a9 100644

scripts/spelling.txt ehther||ether · line 553

Quoted 6 lines
scripts/spelling.txt +3 -0
@@ -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.

Quoted 4 lines
scripts/spelling.txt +0 -0
 embeded||embedded
 enabledi||enabled
 enbale||enable
#7 lore raw

PATCH v2 1/1 Add entries for words with stem "eleminat"

In reply to Sean Gloumeau

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

---
 scripts/spelling.txt | 3 +++
 1 file changed, 3 insertions(+)
scripts/spelling.txt +3 -0
index 7b6a01291598..4400f71a100c 100644
@@ -547,6 +547,9 @@ efficently||efficiently
 ehther||ether
 eigth||eight
 elementry||elementary
+eleminate||eliminate
+eleminating||eliminating
+elemination||elimination
 eletronic||electronic
 embeded||embedded
 enabledi||enabled
Signature · 6 lines
2.31.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
#8 lore raw

Re: [PATCH v2] Add entries for words with stem "eleminat"

Whoops, please ignore the last email. It should have sent with a new subject.

Quoted 24 lines · Sean Gloumeau

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

---
 scripts/spelling.txt | 3 +++
 1 file changed, 3 insertions(+)
scripts/spelling.txt +3 -1
index 7b6a01291598..4400f71a100c 100644
@@ -547,6 +547,9 @@ efficently||efficiently
 ehther||ether
 eigth||eight
 elementry||elementary
+eleminate||eliminate
+eleminating||eliminating
+elemination||elimination
 eletronic||electronic
 embeded||embedded
 enabledi||enabled
--
Quoted 2 lines

2.31.1

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#9 lore raw

PATCH v2 3/3 Add entries for words with stem "eleminat"

In reply to Sean Gloumeau

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

---
 scripts/spelling.txt | 3 +++
 1 file changed, 3 insertions(+)
scripts/spelling.txt +3 -0
index 7b6a01291598..4400f71a100c 100644
@@ -547,6 +547,9 @@ efficently||efficiently
 ehther||ether
 eigth||eight
 elementry||elementary
+eleminate||eliminate
+eleminating||eliminating
+elemination||elimination
 eletronic||electronic
 embeded||embedded
 enabledi||enabled
Signature · 6 lines
2.31.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/