Commit e23ef1f3 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

checkpatch: ignore __pure $Attribute

Just like "__cold", ignore the __pure gcc attribute macro so pointer
warnings aren't generated for uses like "int * __pure fn(...)"
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c0a5c898
...@@ -278,6 +278,7 @@ our $Attribute = qr{ ...@@ -278,6 +278,7 @@ our $Attribute = qr{
__noreturn| __noreturn|
__used| __used|
__cold| __cold|
__pure|
__noclone| __noclone|
__deprecated| __deprecated|
__read_mostly| __read_mostly|
......
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