linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Derek Robson <robsonde@gmail.com>
To: mgorman@suse.de, iamjoonsoo.kim@lge.com, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org
Cc: Derek Robson <robsonde@gmail.com>
Subject: [PATCH] mm: fixed Missing a blank line after declarations
Date: Mon, 27 Apr 2015 19:16:40 +1200	[thread overview]
Message-ID: <1430119000-7196-1-git-send-email-robsonde@gmail.com> (raw)

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

                 reply	other threads:[~2015-04-27  7:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1430119000-7196-1-git-send-email-robsonde@gmail.com \
    --to=robsonde@gmail.com \
    --cc=iamjoonsoo.kim@lge.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox