Re: [PATCH] mm,mempolicy: mpol_equal() use bool

From: David Rientjes
Date: Tue Dec 20 2011 - 19:17:12 EST


On Tue, 20 Dec 2011, kosaki.motohiro@xxxxxxxxx wrote:

> From: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
>
> mpol_equal() logically return boolean. then it should be used bool.
> This change slightly improve readability.
>
>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

This code predates the introduction of the bool type to the kernel, so
it's a good cleanup, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/