Commit 5fe3af11 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Linus Torvalds

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: default avatarAndy Whitcroft <apw@shadowen.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 383099fd
...@@ -116,7 +116,8 @@ our $Attribute = qr{ ...@@ -116,7 +116,8 @@ our $Attribute = qr{
__(?:mem|cpu|dev|)(?:initdata|init)| __(?:mem|cpu|dev|)(?:initdata|init)|
____cacheline_aligned| ____cacheline_aligned|
____cacheline_aligned_in_smp| ____cacheline_aligned_in_smp|
____cacheline_internodealigned_in_smp ____cacheline_internodealigned_in_smp|
__weak
}x; }x;
our $Modifier; our $Modifier;
our $Inline = qr{inline|__always_inline|noinline}; our $Inline = qr{inline|__always_inline|noinline};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment