[PATCH] Fix checkpatch.pl error in lowmemkiller.c

Chinmay Nivsarkar mit.chinmayn at gmail.com
Fri Sep 2 16:58:48 UTC 2016


This patch fixes checkpatch.pl error WARNING: line over 80 characters #95:
 FILE: drivers/staging/android/lowmemorykiller.c:95:

Signed-off-by: Chinmay Nivsarkar <mit.chinmayn at 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..41d64b8 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.9.3


More information about the devel mailing list