Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1345800

[PATCH] staging: lowmemorykiller: fix 2 checks that checkpatch complained

From sandeepjain.linux@gmail.com
Newsgroups linux.kernel
Subject [PATCH] staging: lowmemorykiller: fix 2 checks that checkpatch complained
Date 2016-02-29 14:20 +0100
Message-ID <r7vTY-3v4-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Sandeep Jain <sandeepjain.linux@gmail.com>

Specifically:
lowmemorykiller.c:53: CHECK: use a blank line after enum declarations
lowmemorykiller.c:60: CHECK: use a blank line after enum declarations

Signed-off-by: Sandeep Jain <sandeepjain.linux@gmail.com>
---
 drivers/staging/android/lowmemorykiller.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c
index 4b8a56c..2509e5d 100644
--- a/drivers/staging/android/lowmemorykiller.c
+++ b/drivers/staging/android/lowmemorykiller.c
@@ -50,6 +50,7 @@ static short lowmem_adj[6] = {
 	6,
 	12,
 };
+
 static int lowmem_adj_size = 4;
 static int lowmem_minfree[6] = {
 	3 * 512,	/* 6MB */
@@ -57,6 +58,7 @@ static int lowmem_minfree[6] = {
 	4 * 1024,	/* 16MB */
 	16 * 1024,	/* 64MB */
 };
+
 static int lowmem_minfree_size = 4;
 
 static unsigned long lowmem_deathpending_timeout;
-- 
1.9.1

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] staging: lowmemorykiller: fix 2 checks that checkpatch complained sandeepjain.linux@gmail.com - 2016-02-29 14:20 +0100

csiph-web