From: Andy Whitcroft Date: Tue, 6 Jan 2009 22:41:18 +0000 (-0800) Subject: checkpatch: __weak is an official attribute X-Git-Tag: upstream/snapshot3+hdmi~20939 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fe3af119bed58d240e2097fe76f322ab51902d7;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9208ec6..c79abb4 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -116,7 +116,8 @@ our $Attribute = qr{ __(?:mem|cpu|dev|)(?:initdata|init)| ____cacheline_aligned| ____cacheline_aligned_in_smp| - ____cacheline_internodealigned_in_smp + ____cacheline_internodealigned_in_smp| + __weak }x; our $Modifier; our $Inline = qr{inline|__always_inline|noinline};