Re: [PATCH] sched/fair: fix coccinelle warnings

2019-07-15 Thread Peter Zijlstra
On Mon, Jul 15, 2019 at 10:45:26AM +0800, Yi Wang wrote: > This fixes the following coccinelle warning: > ./kernel/sched/fair.c:8688:9-10: WARNING: return of 0/1 in function > 'voluntary_active_balance' with return type bool > > Return type bool instead of 0/1. I don't much appreciate these

[PATCH] sched/fair: fix coccinelle warnings

2019-07-14 Thread Yi Wang
This fixes the following coccinelle warning: ./kernel/sched/fair.c:8688:9-10: WARNING: return of 0/1 in function 'voluntary_active_balance' with return type bool Return type bool instead of 0/1. Signed-off-by: Yi Wang --- kernel/sched/fair.c | 8 1 file changed, 4 insertions(+), 4