Re: [PATCH] include/linux/list_bl.h: Use bool instead of int for boolean functions

2016-01-28 Thread Chen Gang
On 1/28/16 15:22, Heiko Carstens wrote: > On Mon, Jan 25, 2016 at 04:58:18AM +0800, cheng...@emindsoft.com.cn wrote: >> From: Chen Gang >> >> hlist_bl_unhashed() and hlist_bl_empty() are all boolean functions, so >> return bool instead of int. >> >> Signed-off-by: Chen Gang >> --- >>

Re: [PATCH] include/linux/list_bl.h: Use bool instead of int for boolean functions

2016-01-28 Thread Chen Gang
On 1/28/16 15:22, Heiko Carstens wrote: > On Mon, Jan 25, 2016 at 04:58:18AM +0800, cheng...@emindsoft.com.cn wrote: >> From: Chen Gang >> >> hlist_bl_unhashed() and hlist_bl_empty() are all boolean functions, so >> return bool instead of int. >> >> Signed-off-by: Chen

Re: [PATCH] include/linux/list_bl.h: Use bool instead of int for boolean functions

2016-01-27 Thread Heiko Carstens
On Mon, Jan 25, 2016 at 04:58:18AM +0800, cheng...@emindsoft.com.cn wrote: > From: Chen Gang > > hlist_bl_unhashed() and hlist_bl_empty() are all boolean functions, so > return bool instead of int. > > Signed-off-by: Chen Gang > --- > include/linux/list_bl.h | 4 ++-- > 1 file changed, 2

Re: [PATCH] include/linux/list_bl.h: Use bool instead of int for boolean functions

2016-01-27 Thread Heiko Carstens
On Mon, Jan 25, 2016 at 04:58:18AM +0800, cheng...@emindsoft.com.cn wrote: > From: Chen Gang > > hlist_bl_unhashed() and hlist_bl_empty() are all boolean functions, so > return bool instead of int. > > Signed-off-by: Chen Gang > --- >

[PATCH] include/linux/list_bl.h: Use bool instead of int for boolean functions

2016-01-24 Thread chengang
From: Chen Gang hlist_bl_unhashed() and hlist_bl_empty() are all boolean functions, so return bool instead of int. Signed-off-by: Chen Gang --- include/linux/list_bl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/list_bl.h b/include/linux/list_bl.h

[PATCH] include/linux/list_bl.h: Use bool instead of int for boolean functions

2016-01-24 Thread chengang
From: Chen Gang hlist_bl_unhashed() and hlist_bl_empty() are all boolean functions, so return bool instead of int. Signed-off-by: Chen Gang --- include/linux/list_bl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git