[RFC 3/3] scripts/spelling: Add common spelling mistakes in default spelling.txt

Zhao Liu posted 3 patches 11 months, 4 weeks ago
[RFC 3/3] scripts/spelling: Add common spelling mistakes in default spelling.txt
Posted by Zhao Liu 11 months, 4 weeks ago
From: Zhao Liu <zhao1.liu@intel.com>

Select the typos in commits from 7.0.0 to 8.2.0-rc2 that were typed more
than three times to add to the default dictionary selling.txt.

The typos were counted by (Referenced Kees' command in Linux kernel's
commit 66b47b4a9dad00):

$ git log --format='%H' v7.0.0..v8.2.0-rc2 | \
   while read commit ; do \
     echo "commit $commit" ; \
     git log --format=email --stat -p -1 $commit | \
     ./scripts/checkpatch.pl --codespell - ; \
   done | \
   tee spell_v7.0.0..v8.2.0-rc2.txt | \
   grep "may be misspelled" | awk '{print $2}' | \
   tr A-Z a-z | sort | uniq -c | sort -rn

The typos were listed as follows (In addition to variable naming and
misreporting, select typos greater than three times):

   1289 'fpr'
    222 'ot'
     45 'hace'
     25 'te'
     24 'parm'
     21 'sie'
     20 'nd'
     20 'clen'
     15 'sring'
     14 'hax'
     13 'hda'
     12 'endianess'
     10 'tabl'
     10 'stip'
     10 'datas'
      9 'reenable'
      8 'unitialized'
      8 'invers'
      7 'seh'
      7 'priviledge'
      7 'indentification'
      7 'existance'
      6 'varience'
      6 'unuseful'
      6 'tranfer'
      6 'tne'
      6 'octects'
      6 'informations'
      6 'indicies'
      6 'extenstion'
      6 'betwen'
      6 'ammends'
      5 'writting'
      5 'wont'
      5 'som'
      5 'responsability'
      5 'padd'
      5 'offsetp'
      5 'negotation'
      5 'necesary'
      5 'nam'
      5 'maintainance'
      5 'extnesion'
      5 'convertion'
      5 'configuraiton'
      5 'comparision'
      5 'arbitrer'
      5 'an
      5 'algorithim'
      5 'addreses'
      5 'achived'
      5 'accomodate'
      4 'undocummented'
      4 'ue'
      4 'truely'
      4 'tre'
      4 'suppoted'
      4 'separatly'
      4 'reenabled'
      4 'occured'
      4 'myu'
      4 'mone'
      4 'ment'
      4 'limitaions'
      4 'instread'
      4 'infomation'
      4 'implment'
      4 'hammmer'
      4 'desciptor'
      4 'defintions'
      4 'crypted'
      4 'constext'
      4 'acces'
      3 'wronly'
      3 'wether'
      3 'vill'
      3 'unsupport'
      3 'unneded'
      3 'transfered'
      3 'sxl'
      3 'suppor'
      3 'superceded'
      3 'succesfully'
      3 'slighly'
      3 'setted'
      3 'respectivelly'
      3 'reigster'
      3 'recive'
      3 'priviledged'
      3 'potentialy'
      3 'phyiscal'
      3 'pathes'
      3 'othe'
      3 'ontaining'
      3 'nunber'
      3 'missmatch'
      3 'minumum'
      3 'mesage'
      3 'legnth'
      3 'kenel'
      3 'intialized'
      3 'inbetween'
      3 'implemetation'
      3 'garanteed'
      3 'explictly'
      3 'enhacements'
      3 'ealier'
      3 'doen't'
      3 'diferent'
      3 'debuging'
      3 'daa'
      3 'convergance'
      3 'compatiblity'
      3 'caf'
      3 'buid'
      3 'becase'
      3 'bandwith'
      3 'atleast'
      3 'asume'
      3 'analoguous'
      3 'alse'
      3 'addtionally'
      3 'addtional'
      3 'addresss'
      3 'acknowledgement'
      3 'accross'
      3 'acceses'

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
 scripts/spelling.txt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 549ffd0f2d78..177dee2bb28d 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -28,6 +28,7 @@ accelaration||acceleration
 accelearion||acceleration
 acceleratoin||acceleration
 accelleration||acceleration
+acces||access
 accesing||accessing
 accesnt||accent
 accessable||accessible
@@ -50,6 +51,7 @@ acessable||accessible
 acess||access
 acessing||accessing
 achitecture||architecture
+achived||achieved
 acient||ancient
 acitions||actions
 acitve||active
@@ -95,6 +97,7 @@ albumns||albums
 alegorical||allegorical
 algined||aligned
 algorith||algorithm
+algorithim||algorithm
 algorithmical||algorithmically
 algoritm||algorithm
 algoritms||algorithms
@@ -124,6 +127,7 @@ altough||although
 alue||value
 ambigious||ambiguous
 ambigous||ambiguous
+ammend||amend
 amoung||among
 amount of times||number of times
 amout||amount
@@ -248,6 +252,7 @@ beeing||being
 befor||before
 begining||beginning
 beter||better
+betwen||between
 betweeen||between
 bianries||binaries
 bitmast||bitmask
@@ -350,6 +355,7 @@ comsuming||consuming
 comaptible||compatible
 compability||compatibility
 compaibility||compatibility
+comparision||comparison
 comparsion||comparison
 compatability||compatibility
 compatable||compatible
@@ -385,6 +391,7 @@ configred||configured
 configuartion||configuration
 configuation||configuration
 configued||configured
+configuraiton||configuration
 configuratoin||configuration
 configuraton||configuration
 configuretion||configuration
@@ -658,6 +665,7 @@ exteneded||extended
 extensability||extensibility
 extention||extension
 extenstion||extension
+extnesion||extension
 extracter||extractor
 faied||failed
 faield||failed
@@ -796,6 +804,7 @@ implementd||implemented
 implemetation||implementation
 implemntation||implementation
 implentation||implementation
+implment||implement
 implmentation||implementation
 implmenting||implementing
 incative||inactive
@@ -812,11 +821,13 @@ incuding||including
 inculde||include
 indendation||indentation
 indended||intended
+indentification||identification
 independant||independent
 independantly||independently
 independed||independent
 indiate||indicate
 indicat||indicate
+indicies||indices
 inexpect||inexpected
 inferface||interface
 infinit||infinite
@@ -850,6 +861,7 @@ instace||instance
 instal||install
 instanciate||instantiate
 instanciated||instantiated
+instread||instead
 instuments||instruments
 insufficent||insufficient
 inteface||interface
@@ -934,6 +946,7 @@ libary||library
 librairies||libraries
 libraris||libraries
 licenceing||licencing
+limitaion||limitation
 limted||limited
 logaritmic||logarithmic
 loggging||logging
@@ -1331,6 +1344,7 @@ resouce||resource
 resouces||resources
 resoures||resources
 responce||response
+responsability||responsibility
 resrouce||resource
 ressizes||resizes
 ressource||resource
@@ -1554,6 +1568,7 @@ throught||through
 tansition||transition
 trackling||tracking
 troughput||throughput
+truely||truly
 trys||tries
 thses||these
 tiggers||triggers
@@ -1623,6 +1638,7 @@ unknouwn||unknown
 unknow||unknown
 unkown||unknown
 unamed||unnamed
+undocummented||undocumented
 uneeded||unneeded
 unneded||unneeded
 unneccecary||unnecessary
-- 
2.34.1