]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-compaction-compact-unevictable-pages-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Oct 2011 00:43:06 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Oct 2011 08:43:50 +0000 (19:43 +1100)
ERROR: need consistent spacing around '|' (ctx:VxW)
#67: FILE: mm/compaction.c:264:
+ isolate_mode_t mode = ISOLATE_ACTIVE| ISOLATE_INACTIVE |
                                      ^

total: 1 errors, 0 warnings, 36 lines checked

./patches/mm-compaction-compact-unevictable-pages.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: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c

index 0e572d1b9889273154328db3b2a6d0c7e18a247e..12c3b62e814e74b40ac7a0d367c12a00d271792f 100644 (file)
@@ -261,7 +261,7 @@ static isolate_migrate_t isolate_migratepages(struct zone *zone,
        unsigned long last_pageblock_nr = 0, pageblock_nr;
        unsigned long nr_scanned = 0, nr_isolated = 0;
        struct list_head *migratelist = &cc->migratepages;
-       isolate_mode_t mode = ISOLATE_ACTIVE| ISOLATE_INACTIVE |
+       isolate_mode_t mode = ISOLATE_ACTIVE | ISOLATE_INACTIVE |
                                ISOLATE_UNEVICTABLE;
 
        /* Do not scan outside zone boundaries */