* [PATCH] mm: fixed Missing a blank line after declarations
@ 2015-04-27 7:16 Derek Robson
0 siblings, 0 replies; only message in thread
From: Derek Robson @ 2015-04-27 7:16 UTC (permalink / raw)
To: mgorman, iamjoonsoo.kim, linux-mm, linux-kernel; +Cc: Derek Robson
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>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-27 7:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 7:16 [PATCH] mm: fixed Missing a blank line after declarations Derek Robson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).