mm/vmscan.c: s/int ret/bool ret/ in kswapd() because try_to_freeze() return boolean
Subsystems (3)
PATCH 1/1 mm/vmscan.c: s/int ret/bool ret/ in kswapd() because try_to_freeze() return boolean
Hello,
kswapd()->try_to_freeze() is defined to return a boolean, so it's better to fix the return value type accordingly.
Thanks,
-Jeff
Signed-off-by Jie Liu <[email protected]>
--- mm/vmscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/vmscan.c +1 -1
@@ -2969,7 +2969,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
Signature · 7 lines
1.7.9.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>