From 8e69af782ab064196c9d2704126f82f36991e402 Mon Sep 17 00:00:00 2001 From: Jeff Liu Date: Thu, 29 Nov 2012 14:17:27 +1100 Subject: [PATCH] mm/vmscan.c: try_to_freeze() returns boolean kswapd()->try_to_freeze() is defined to return a boolean, so it's better to use a bool to hold its return value. Signed-off-by: Jie Liu Signed-off-by: Andrew Morton --- mm/vmscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 5d97a95144cc..92b2efaea58e 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2982,7 +2982,7 @@ static int kswapd(void *p) classzone_idx = new_classzone_idx = pgdat->nr_zones - 1; balanced_classzone_idx = classzone_idx; for ( ; ; ) { - int ret; + bool ret; /* * If the last balance_pgdat was unsuccessful it's unlikely a -- 2.39.5