Re: [PATCH 1/1] scripts/spelling.txt: Adding misspelled word for check.

From: Andrew Morton
Date: Thu Jul 09 2015 - 18:39:03 EST


On Fri, 26 Jun 2015 10:37:26 -0700 Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> On Thu, Jun 25, 2015 at 9:13 PM, Maninder Singh <maninder1.s@xxxxxxxxxxx> wrote:
> > misspelled words for check:-
> > chcek
> > chck
> > cehck
> >
> > I myself did these spell mistakes in changelog for patches,
> > Thus suggesting to add in spelling.txt, so that checkpatch.pl
> > warns it earlier.
> > References:-
> >
> > ./arch/powerpc/kernel/exceptions-64e.S:456: . . . make sure you chcek
> > https://lkml.org/lkml/2015/6/25/289
> > ./arch/x86/mm/pageattr.c:1368: * No need to cehck in that case
> >
> > Signed-off-by: Maninder Singh <maninder1.s@xxxxxxxxxxx>
>
> Thanks! These aren't very common, but there aren't any false positives. :)
>
> Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

Well I'm going to sneak this in there to.


From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: scripts-spellingtxt-adding-misspelled-word-for-check-fix

add whcih->which, whcih I always get wrong

Cc: Kees Cook <keescook@xxxxxxxxxxxx>
Cc: Maninder Singh <maninder1.s@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

scripts/spelling.txt | 1 +
1 file changed, 1 insertion(+)

diff -puN scripts/spelling.txt~scripts-spellingtxt-adding-misspelled-word-for-check-fix scripts/spelling.txt
--- a/scripts/spelling.txt~scripts-spellingtxt-adding-misspelled-word-for-check-fix
+++ a/scripts/spelling.txt
@@ -1031,6 +1031,7 @@ visiters||visitors
vitual||virtual
wating||waiting
whataver||whatever
+whcih||which
whenver||whenever
wheter||whether
whe||when
_

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/