From: Jeff Liu Date: Wed, 12 Dec 2012 00:02:48 +0000 (-0800) Subject: mm/vmscan.c: try_to_freeze() returns boolean X-Git-Tag: v3.8-rc1~175^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f6313d4870f9642cb3ea8ec892cf6da81331b9c;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 Signed-off-by: Linus Torvalds --- diff --git a/mm/vmscan.c b/mm/vmscan.c index 5394731..157bb11 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2963,7 +2963,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