[COMMON] mm: hpa: initialize local variable
authorSunyoung Kang <sy0816.kang@samsung.com>
Fri, 2 Sep 2016 02:47:26 +0000 (11:47 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:25 +0000 (19:45 +0900)
Fix Svace: 64228

Change-Id: Ic29475767bd4cbd8043677abf435c4ab478dd2b7
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
mm/hpa.c

index 0c1580b54ef9e7c19c8d5dff98498bae9d7ad13c..4a64145c07a6c62429a6a69d0861992fbf46c0b2 100644 (file)
--- a/mm/hpa.c
+++ b/mm/hpa.c
@@ -61,7 +61,7 @@ static int hpa_killer(void)
        unsigned long rem = 0;
        int tasksize;
        int selected_tasksize = 0;
-       short selected_oom_score_adj;
+       short selected_oom_score_adj = HPA_MIN_OOMADJ;
        int ret = 0;
 
        rcu_read_lock();