]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6091656d332a7ffa450dd60508a33a8d74197fe
tree4c57102fdf47e26e466aa923f176552944791313
parentc3aa9d95b3024af0cfa0d8a020cfc7b8c7e81de3
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