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

2016-07-25 Thread Michael Ellerman
Andrew Morton writes: > On Mon, 25 Jul 2016 15:10:06 +1000 Michael Ellerman > wrote: >> cheng...@emindsoft.com.cn writes: >> > From: Chen Gang >> > >> > For pure bool function's return value, bool is a little better

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

2016-07-25 Thread Andrew Morton
On Mon, 25 Jul 2016 15:10:06 +1000 Michael Ellerman wrote: > cheng...@emindsoft.com.cn writes: > > > From: Chen Gang > > > > For pure bool function's return value, bool is a little better more or > > less than int. > > > > Signed-off-by: Chen

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

2016-07-24 Thread Michael Ellerman
cheng...@emindsoft.com.cn writes: > From: Chen Gang > > For pure bool function's return value, bool is a little better more or > less than int. > > Signed-off-by: Chen Gang > --- > arch/powerpc/include/asm/mman.h | 8 >

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

2016-07-23 Thread chengang
From: Chen Gang For pure bool function's return value, bool is a little better more or less than int. Signed-off-by: Chen Gang --- arch/powerpc/include/asm/mman.h | 8 include/linux/mman.h| 2 +- 2 files changed, 5