lkml.org 
[lkml]   [2015]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mm: fixed Missing a blank line after declarations
Date
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


\
 
 \ /
  Last update: 2015-04-27 10:01    [W:0.021 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site