From 286a0572e75ade325238617d15c136f74c4f67a4 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 14 Jan 2021 16:08:19 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49463 Reviewed-by: Felix Held Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- util/lint/spelling.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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