Skip to content

Commit 9490036

Browse files
akpm00hnaz
authored andcommitted
mm-mempolicy-clean-up-__gfp_thisnode-confusion-in-policy_zonelist-checkpatch-fixes
WARNING: line over 80 characters torvalds#59: FILE: mm/mempolicy.c:1686: + * __GFP_THISNODE shouldn't even be used with the bind policy because WARNING: line over 80 characters torvalds#60: FILE: mm/mempolicy.c:1687: + * we might easily break the expectation to stay on the requested node WARNING: line over 80 characters torvalds#69: FILE: mm/mempolicy.c:1690: + WARN_ON_ONCE(policy->mode == MPOL_BIND && (gfp & __GFP_THISNODE)); total: 0 errors, 3 warnings, 33 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/mm-mempolicy-clean-up-__gfp_thisnode-confusion-in-policy_zonelist.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent d813707 commit 9490036

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mm/mempolicy.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,9 +1683,9 @@ static struct zonelist *policy_zonelist(gfp_t gfp, struct mempolicy *policy,
16831683
nd = policy->v.preferred_node;
16841684
else {
16851685
/*
1686-
* __GFP_THISNODE shouldn't even be used with the bind policy because
1687-
* we might easily break the expectation to stay on the requested node
1688-
* and not break the policy.
1686+
* __GFP_THISNODE shouldn't even be used with the bind policy
1687+
* because we might easily break the expectation to stay on the
1688+
* requested node and not break the policy.
16891689
*/
16901690
WARN_ON_ONCE(policy->mode == MPOL_BIND && (gfp & __GFP_THISNODE));
16911691
}

0 commit comments

Comments
 (0)