Messages in this thread Patch in this message | | | From | Derek Robson <> | Subject | [PATCH] mm: fixed Missing a blank line after declarations | Date | Mon, 27 Apr 2015 19:16:40 +1200 |
| |
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 <robsonde@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
| |