summaryrefslogtreecommitdiff
path: root/scripts/spelling.txt
diff options
context:
space:
mode:
authorPaul Walmsley <paul.walmsley@sifive.com>2019-07-11 20:52:33 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-12 11:05:41 -0700
commitcc0e5f1ce0a8017c68983eb6b41a1dbd0d24aa98 (patch)
treeea45c52d492bff53598809a9353d13419742957e /scripts/spelling.txt
parentfe7d14f174f18745d8dc141377e5f85ae7757d66 (diff)
downloadlwn-cc0e5f1ce0a8017c68983eb6b41a1dbd0d24aa98.tar.gz
lwn-cc0e5f1ce0a8017c68983eb6b41a1dbd0d24aa98.zip
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. [akpm@linux-foundation.org: fix existing "sepc" instances, per Joe] Link: http://lkml.kernel.org/r/20190518210037.13674-1-paul.walmsley@sifive.com Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/spelling.txt')
-rw-r--r--scripts/spelling.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 86b87332b9e5..5ae83ce31902 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -1145,7 +1145,6 @@ senarios||scenarios
sentivite||sensitive
separatly||separately
sepcify||specify
-sepc||spec
seperated||separated
seperately||separately
seperate||separate