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

Michael Ellerman mpe at ellerman.id.au
Tue Jul 26 11:15:40 AEST 2016


Andrew Morton <akpm at linux-foundation.org> writes:
> On Mon, 25 Jul 2016 15:10:06 +1000 Michael Ellerman <mpe at ellerman.id.au> wrote:
>> chengang at emindsoft.com.cn writes:
>> > From: Chen Gang <chengang at emindsoft.com.cn>
>> >
>> > 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 at gmail.com>
>> 
>> LGTM.
>> 
>> Acked-by: Michael Ellerman <mpe at ellerman.id.au>
>> 
>> Andrew do you want to take this or should I?
>
> I grabbed it, thanks.

Thanks.


More information about the Linuxppc-dev mailing list