From: Anson Jacob <ansonjacob.aj@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
arve@android.com, riandrews@android.com
Cc: Kernel List <linux-kernel@vger.kernel.org>,
Staging List <devel@driverdev.osuosl.org>
Subject: [PATCH] staging: android: lowmemorykiller.c: Fix checkpatch warning
Date: Thu, 25 Aug 2016 11:10:25 -0400 [thread overview]
Message-ID: <20160825151025.GA4399@X250> (raw)
Fix checkpatch.pl 'line over 80 characters' warning
Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
---
drivers/staging/android/lowmemorykiller.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c
index 45a1b4e..80d7adf 100644
--- a/drivers/staging/android/lowmemorykiller.c
+++ b/drivers/staging/android/lowmemorykiller.c
@@ -92,8 +92,8 @@ static unsigned long lowmem_scan(struct shrinker *s, struct shrink_control *sc)
int array_size = ARRAY_SIZE(lowmem_adj);
int other_free = global_page_state(NR_FREE_PAGES) - totalreserve_pages;
int other_file = global_node_page_state(NR_FILE_PAGES) -
- global_node_page_state(NR_SHMEM) -
- total_swapcache_pages();
+ global_node_page_state(NR_SHMEM) -
+ total_swapcache_pages();
if (lowmem_adj_size < array_size)
array_size = lowmem_adj_size;
--
2.7.4
next reply other threads:[~2016-08-25 15:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-25 15:10 Anson Jacob [this message]
2016-08-25 15:26 ` [PATCH] staging: android: lowmemorykiller.c: Fix checkpatch warning Andrey Utkin
2016-09-01 15:36 ` Greg Kroah-Hartman
2016-09-01 18:19 ` Joe Perches
2016-09-01 18:33 ` Greg Kroah-Hartman
2016-09-01 18:42 ` Joe Perches
2016-09-01 21:19 ` Arve Hjønnevåg
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=20160825151025.GA4399@X250 \
--to=ansonjacob.aj@gmail.com \
--cc=arve@android.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=riandrews@android.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.