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: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Joe Perches 2015-02-13 14:38:24 -08:00 committed by Linus Torvalds
parent c0a5c89858
commit e23ef1f334
1 changed files with 1 additions and 0 deletions

View File

@ -278,6 +278,7 @@ our $Attribute = qr{
__noreturn|
__used|
__cold|
__pure|
__noclone|
__deprecated|
__read_mostly|