Messages in this thread | | | Date | Mon, 15 Jul 2019 11:51:47 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] sched/fair: fix coccinelle warnings |
| |
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 patches. I think 0/1 are perfectly fine return values for a boolean function.
| |