diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 25fdb7fda1128aa99d2d32ee3a125fc4c00292cf..d56c98146da3e5db824d60381aab93d07bc04fa2 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -512,6 +512,7 @@ our $Attribute = qr{ __ro_after_init| __kprobes| $InitAttribute| + __aligned\s*\(.*\)| ____cacheline_aligned| ____cacheline_aligned_in_smp| ____cacheline_internodealigned_in_smp|