Re: [PATCH] sched/fair: Return true,false in voluntary_active_balance()

From: Peter Zijlstra
Date: Fri May 08 2020 - 04:17:08 EST


On Thu, May 07, 2020 at 07:06:25PM +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
>
> kernel/sched/fair.c:9375:9-10: WARNING: return of 0/1 in function
> 'voluntary_active_balance' with return type bool

That's not a warning, that's a broken cocinelle script, which if these
stupid patches don't stop, I'm going to delete myself!