From f2caaf3e7fde4ff4a99e38a8f4a6fd526e26657c Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Wed, 17 Apr 2024 16:00:21 +0200 Subject: [PATCH] lint/checkpatch: Add __aligned to the list of attribute notes This updates the script to upstream version 6.8 https://github.com/torvalds/linux/commit/2f9dadba5ba02e1510a04ce57ebfb9e08fd872a8 Change-Id: I9274e8b5ed5ada27c290c462b0c59eccf1b0b60d Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/81949 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- util/lint/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl index b6ac890dff..16b6bd35fb 100755 --- a/util/lint/checkpatch.pl +++ b/util/lint/checkpatch.pl @@ -517,6 +517,7 @@ our $Attribute = qr{ __ro_after_init| __kprobes| $InitAttribute| + __aligned\s*\(.*\)| ____cacheline_aligned| ____cacheline_aligned_in_smp| ____cacheline_internodealigned_in_smp|