From 3cc4a345cd98e6b4df596a224bcc4dba8557a97a Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 20 Nov 2014 01:02:32 +0000 Subject: [PATCH] mm-compaction-always-update-cached-scanner-positions-fix-checkpatch-fixes WARNING: Missing a blank line after declarations #65: FILE: mm/compaction.c:1243: + unsigned long free_pfn = release_freepages(&cc->freepages); + cc->nr_freepages = 0; total: 0 errors, 1 warnings, 47 lines checked ./patches/mm-compaction-always-update-cached-scanner-positions-fix.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Vlastimil Babka Signed-off-by: Andrew Morton --- mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/compaction.c b/mm/compaction.c index 985d55ef77fa96..8f211bd2ea0d53 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -1245,8 +1245,8 @@ static int compact_zone(struct zone *zone, struct compact_control *cc) */ if (cc->nr_freepages > 0) { unsigned long free_pfn = release_freepages(&cc->freepages); - cc->nr_freepages = 0; + cc->nr_freepages = 0; VM_BUG_ON(free_pfn == 0); /* The cached pfn is always the first in a pageblock */ free_pfn &= ~(pageblock_nr_pages-1);