[PATCH] scripts/spelling.txt: drop "sepc" from the misspelling list
From: Paul Walmsley
Date: Sat May 18 2019 - 17:03:18 EST
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.
Signed-off-by: Paul Walmsley <paul.walmsley@xxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---
scripts/spelling.txt | 1 -
1 file changed, 1 deletion(-)
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
--
2.20.1