[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1430119000-7196-1-git-send-email-robsonde@gmail.com>
Date: Mon, 27 Apr 2015 19:16:40 +1200
From: Derek Robson <robsonde@...il.com>
To: mgorman@...e.de, iamjoonsoo.kim@....com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Cc: Derek Robson <robsonde@...il.com>
Subject: [PATCH] mm: fixed Missing a blank line after declarations
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@...il.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists