Re: [PATCH v2] include: mman: Use bool instead of int for the return value of arch_validate_prot

From: Michael Ellerman
Date: Mon Jul 25 2016 - 21:15:48 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
> On Mon, 25 Jul 2016 15:10:06 +1000 Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:
>> chengang@xxxxxxxxxxxxxxxx writes:
>> > From: Chen Gang <chengang@xxxxxxxxxxxxxxxx>
>> >
>> > For pure bool function's return value, bool is a little better more or
>> > less than int.
>> >
>> > Signed-off-by: Chen Gang <gang.chen.5i5j@xxxxxxxxx>
>>
>> LGTM.
>>
>> Acked-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
>>
>> Andrew do you want to take this or should I?
>
> I grabbed it, thanks.

Thanks.