]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: add warning of future __GFP_NOFAIL use
authorDavid Rientjes <rientjes@google.com>
Fri, 3 Jan 2014 03:10:17 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:17 +0000 (14:10 +1100)
commitbd3786e30cb90e387011bee4b651748f37c982d8
tree906c16556f9fc5ae154cb6b3f4afb9f2cb592cb1
parentd000be05e3c7ef47f49a0991402837d67b042d7d
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>
scripts/checkpatch.pl