checkpatch: add warning of future __GFP_NOFAIL use
authorDavid Rientjes <rientjes@google.com>
Thu, 23 Jan 2014 23:54:42 +0000 (15:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:57 +0000 (16:36 -0800)
commit7e4915e78992ebd3cc031051dc23063bbf29e749
tree4c57102fdf47e26e466aa923f176552944791313
parentd2e248e7b0068b940f3ca1fc26da603536a533db
checkpatch: add warning of future __GFP_NOFAIL use

gfp.h and page_alloc.c already specify that __GFP_NOFAIL is deprecated and
no new users should be added.

Add a warning to checkpatch to catch this.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl