[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160725170859.1be58d7f19b72a0340ee65c7@linux-foundation.org>
Date: Mon, 25 Jul 2016 17:08:59 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: chengang@...ndsoft.com.cn, benh@...nel.crashing.org,
paulus@...ba.org, dave.hansen@...ux.intel.com, tglx@...utronix.de,
mingo@...nel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, Chen Gang <gang.chen.5i5j@...il.com>
Subject: Re: [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@...erman.id.au> wrote:
> chengang@...ndsoft.com.cn writes:
>
> > From: Chen Gang <chengang@...ndsoft.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@...il.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@...erman.id.au>
>
> Andrew do you want to take this or should I?
I grabbed it, thanks.
Powered by blists - more mailing lists