summaryrefslogtreecommitdiff
path: root/util/lint
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-01-14 16:08:19 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-01-17 16:49:00 +0000
commit286a0572e75ade325238617d15c136f74c4f67a4 (patch)
treef0ee6a059491b2b30a16a7a7e3357786bad2f40b /util/lint
parentcf2f7005f623ab8819fc8f893b7cfe7b27d8f9a2 (diff)
util/lint/spelling.txt: Disable `pres`
It would seem that `pres` is an abbreviation for `presence`. Personally, over the last ~2.5 years, I have seen checkpatch complaints about `pres` on several occasions, and all of them were abbreviations for `presence`. Given the high false positive rate for this entry, comment it out. Change-Id: I72f1811fb1f766e7de7c4957fd9ba844c0728029 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49463 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/lint')
-rw-r--r--util/lint/spelling.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/lint/spelling.txt b/util/lint/spelling.txt
index 87380779bc..96a689e380 100644
--- a/util/lint/spelling.txt
+++ b/util/lint/spelling.txt
@@ -15,6 +15,9 @@
# Reason: AFE means `Analog Front-End`, and appears on register names.
#afe||safe
#
+# Reason: It is sometimes used as an abbreviation for `presence`.
+#pres||press
+#
# Reason: On RISC-V, `SEPC` is the name of a register.
#sepc||spec
#
@@ -6766,7 +6769,6 @@ pressentation||presentation
pressented||presented
pressent||present
pressre||pressure
-pres||press
preverve||preserve
prevews||previews
prevew||preview