Skip to content

Commit d540c8c

Browse files
akpm00hnaz
authored andcommitted
mm-compaction-always-update-cached-scanner-positions-fix-checkpatch-fixes
WARNING: Missing a blank line after declarations torvalds#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 <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 4c59194 commit d540c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/compaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,8 +1245,8 @@ static int compact_zone(struct zone *zone, struct compact_control *cc)
12451245
*/
12461246
if (cc->nr_freepages > 0) {
12471247
unsigned long free_pfn = release_freepages(&cc->freepages);
1248-
cc->nr_freepages = 0;
12491248

1249+
cc->nr_freepages = 0;
12501250
VM_BUG_ON(free_pfn == 0);
12511251
/* The cached pfn is always the first in a pageblock */
12521252
free_pfn &= ~(pageblock_nr_pages-1);

0 commit comments

Comments
 (0)