Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1450256
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] include: mman: Use bool instead of int for the return value of arch_validate_prot |
| Date | 2016-07-26 02:10 +0200 |
| Message-ID | <rYY6B-3fZ-1@gated-at.bofh.it> (permalink) |
| References | <rYiAq-2LQ-3@gated-at.bofh.it> <rYGt3-yl-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] include: mman: Use bool instead of int for the return value of arch_validate_prot chengang@emindsoft.com.cn - 2016-07-24 05:50 +0200
Re: [PATCH v2] include: mman: Use bool instead of int for the return value of arch_validate_prot Michael Ellerman <mpe@ellerman.id.au> - 2016-07-25 07:20 +0200
Re: [PATCH v2] include: mman: Use bool instead of int for the return value of arch_validate_prot Andrew Morton <akpm@linux-foundation.org> - 2016-07-26 02:10 +0200
Re: [PATCH v2] include: mman: Use bool instead of int for the return value of arch_validate_prot Michael Ellerman <mpe@ellerman.id.au> - 2016-07-26 03:20 +0200
csiph-web