Commit 5fe3af119bed58d240e2097fe76f322ab51902d7

Authored by Andy Whitcroft
Committed by Linus Torvalds
1 parent 383099fd63

checkpatch: __weak is an official attribute

Add __weak as an official attribute.  This tends to be used in a location
where the automated attribute detector misses it.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

scripts/checkpatch.pl
... ... @@ -116,7 +116,8 @@
116 116 __(?:mem|cpu|dev|)(?:initdata|init)|
117 117 ____cacheline_aligned|
118 118 ____cacheline_aligned_in_smp|
119   - ____cacheline_internodealigned_in_smp
  119 + ____cacheline_internodealigned_in_smp|
  120 + __weak
120 121 }x;
121 122 our $Modifier;
122 123 our $Inline = qr{inline|__always_inline|noinline};