This patch fixes warnings found with checkpatch.pl error in compaction.c WARNING: Missing a blank line after declarations
This patch adds blank lines to meet the preferred style. Signed-off-by: Derek Robson <robso...@gmail.com> --- mm/compaction.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/compaction.c b/mm/compaction.c index 018f08d..6d564e0 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -57,6 +57,7 @@ static unsigned long release_freepages(struct list_head *freelist) list_for_each_entry_safe(page, next, freelist, lru) { unsigned long pfn = page_to_pfn(page); + list_del(&page->lru); __free_page(page); if (pfn > high_pfn) @@ -246,6 +247,7 @@ void reset_isolation_suitable(pg_data_t *pgdat) for (zoneid = 0; zoneid < MAX_NR_ZONES; zoneid++) { struct zone *zone = &pgdat->node_zones[zoneid]; + if (!populated_zone(zone)) continue; -- 2.3.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/