checkpatch-add-warning-of-future-__gfp_nofail-use.patch removed from -mm tree
Subject: [merged] checkpatch-add-warning-of-future-__gfp_nofail-use.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 24 Jan 2014 11:01:47 -0800
The patch titled
Subject: checkpatch: add warning of future __GFP_NOFAIL use
has been removed from the -mm tree. Its filename was
checkpatch-add-warning-of-future-__gfp_nofail-use.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: David Rientjes <[email protected]>
Subject: 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.
---
scripts/checkpatch.pl | 6 ++++++ 1 file changed, 6 insertions(+)
scripts/checkpatch.pl renamed from scripts/checkpatch.pl~checkpatch-add-warning-of-future-__gfp_nofail-use +6 -0
@@ -4113,6 +4113,12 @@ sub process { "$1 uses number as first arg, sizeof is generally wrong\n" . $herecurr); } +# check for GFP_NOWAIT use + if ($line =~ /\b__GFP_NOFAIL\b/) { + WARN("__GFP_NOFAIL", + "Use of __GFP_NOFAIL is deprecated, no new users should be added\n" . $herecurr); + } + # check for multiple semicolons if ($line =~ /;\s*;\s*$/) { if (WARN("ONE_SEMICOLON",
_
Patches currently in -mm which might be from [email protected] are
origin.patch
mm-remove-bug_on-from-mlock_vma_page.patch arch-x86-mm-sratc-skip-numa_no_node-while-parsing-slit.patch mm-page_alloc-allow-__gfp_nofail-to-allocate-below-watermarks-after-reclaim.patch memcg-do-not-hang-on-oom-when-killed-by-userspace-oom-access-to-memory-reserves.patch mm-compaction-ignore-pageblock-skip-when-manually-invoking-compaction.patch cpusets-allocate-heap-only-when-required.patch
linux-next.patch firmware-google-drop-select-efi-to-avoid-recursive-dependency.patch