Skip to content

Commit

Permalink
scripts/spelling.txt: add misspelled words for check
Browse files Browse the repository at this point in the history
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

[[email protected]: add whcih->which, whcih I always get wrong]
Signed-off-by: Maninder Singh <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
maninder42 authored and torvalds committed Sep 4, 2015
1 parent 4712e72 commit 779a6ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ capatibilities||capabilities
carefuly||carefully
cariage||carriage
catagory||category
cehck||check
challange||challenge
challanges||challenges
chanell||channel
Expand All @@ -199,6 +200,8 @@ charactor||character
charater||character
charaters||characters
charcter||character
chcek||check
chck||check
checksuming||checksumming
childern||children
childs||children
Expand Down Expand Up @@ -1028,6 +1031,7 @@ visiters||visitors
vitual||virtual
wating||waiting
whataver||whatever
whcih||which
whenver||whenever
wheter||whether
whe||when
Expand Down

0 comments on commit 779a6ce

Please sign in to comment.