lkml.org 
[lkml]   [2016]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] include: mman: Use bool instead of int for the return value of arch_validate_prot
On Mon, 25 Jul 2016 15:10:06 +1000 Michael Ellerman <mpe@ellerman.id.au> wrote:

> chengang@emindsoft.com.cn writes:
>
> > From: Chen Gang <chengang@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@gmail.com>
> > ---
> > arch/powerpc/include/asm/mman.h | 8 ++++----
> > include/linux/mman.h | 2 +-
> > 2 files changed, 5 insertions(+), 5 deletions(-)
>
> LGTM.
>
> Acked-by: Michael Ellerman <mpe@ellerman.id.au>
>
> Andrew do you want to take this or should I?

I grabbed it, thanks.

\
 
 \ /
  Last update: 2016-07-26 02:41    [W:0.029 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site