scripts/spelling.txt: drop "sepc" from the misspelling list

The RISC-V architecture has a register named the "Supervisor Exception
Program Counter", or "sepc".  This abbreviation triggers checkpatch.pl's
misspelling detector, resulting in noise in the checkpatch output.  The
risk that this noise could cause more useful warnings to be missed seems
to outweigh the harm of an occasional misspelling of "spec".  Thus drop
the "sepc" entry from the misspelling list.

[[email protected]: fix existing "sepc" instances, per Joe]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Paul Walmsley <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Paul Walmsley 2019-07-11 20:52:33 -07:00 • committed by Linus Torvalds
commit cc0e5f1ce0
6 changed files with 5 additions and 6 deletions

View file

@ -1145,7 +1145,6 @@ senarios||scenarios
sentivite||sensitive
separatly||separately
sepcify||specify
sepc||spec
seperated||separated
seperately||separately
seperate||separate