[PATCH] sched/fair: Use true and false for bool variable

2021-03-08 Thread Yang Li
Fix the following coccicheck warning: ./kernel/sched/fair.c:9497:9-10: WARNING: return of 0/1 in function 'imbalanced_active_balance' with return type bool Reported-by: Abaci Robot Signed-off-by: Yang Li --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH] sched/fair: Use true and false for bool variable

2021-02-18 Thread Steven Rostedt
On Thu, 18 Feb 2021 18:10:11 +0800 Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./kernel/sched/fair.c:9504:9-10: WARNING: return of 0/1 in function > 'voluntary_active_balance' with return type bool. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- >

Re: [PATCH] sched/fair: Use true and false for bool variable

2021-02-18 Thread Peter Zijlstra
On Thu, Feb 18, 2021 at 06:10:11PM +0800, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./kernel/sched/fair.c:9504:9-10: WARNING: return of 0/1 in function > 'voluntary_active_balance' with return type bool. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong You

[PATCH] sched/fair: Use true and false for bool variable

2021-02-18 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./kernel/sched/fair.c:9504:9-10: WARNING: return of 0/1 in function 'voluntary_active_balance' with return type bool. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- kernel/sched/fair.c | 8 1 file changed, 4 insertions(+), 4