From d27b2e818b312c2b24d08fd2b4a278dc12e9ccdc Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Mon, 5 Sep 2022 11:50:48 +0200 Subject: [PATCH] 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 Change-Id: Ica20264d744ea8f77b56c63d29e1fafc2e68a869 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67338 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- util/lint/checkpatch.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl index d044d8d4ed..e88461fc7c 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 = (