summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-09-05 11:50:48 +0200
committerMartin L Roth <gaumless@gmail.com>2022-11-24 06:05:27 +0000
commitd27b2e818b312c2b24d08fd2b4a278dc12e9ccdc (patch)
tree6488de39a59dd36474bd5877f898ecc841c4ddfb /util
parent36d81dfbdb341bd3b85da2cb802e4c68a2ca4cae (diff)
downloadcoreboot-d27b2e818b312c2b24d08fd2b4a278dc12e9ccdc.tar.gz
coreboot-d27b2e818b312c2b24d08fd2b4a278dc12e9ccdc.tar.bz2
coreboot-d27b2e818b312c2b24d08fd2b4a278dc12e9ccdc.zip
lint/checkpatch: Add XA_STATE and XA_STATE_ORDER to the macro declaration
This reduce the difference with linux v6.0-rc3. Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: Ica20264d744ea8f77b56c63d29e1fafc2e68a869 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67338 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/lint/checkpatch.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl
index d044d8d4ed07..e88461fc7cb6 100755
--- a/util/lint/checkpatch.pl
+++ b/util/lint/checkpatch.pl
@@ -946,7 +946,8 @@ our $FuncArg = qr{$Typecast{0,1}($LvalOrFunc|$Constant|$String)};
our $declaration_macros = qr{(?x:
(?:$Storage\s+)?(?:[A-Z_][A-Z0-9]*_){0,2}(?:DEFINE|DECLARE)(?:_[A-Z0-9]+){1,6}\s*\(|
(?:$Storage\s+)?[HLP]?LIST_HEAD\s*\(|
- (?:SKCIPHER_REQUEST|SHASH_DESC|AHASH_REQUEST)_ON_STACK\s*\(
+ (?:SKCIPHER_REQUEST|SHASH_DESC|AHASH_REQUEST)_ON_STACK\s*\(|
+ (?:$Storage\s+)?(?:XA_STATE|XA_STATE_ORDER)\s*\(
)};
our %allow_repeated_words = (