Re: [PATCH 02/10] sched/topology: Replace 1 and 0 by boolean value

From: Peter Zijlstra
Date: Mon Mar 30 2020 - 07:28:30 EST


On Fri, Mar 27, 2020 at 09:23:49PM +0000, Jules Irenge wrote:
> From: Jules Irenge <jbi.octave@xxxxxxxxxxx>
>
> Coccinelle reports a warning inside sched_energy_aware_handler()
>
> WARNING: Assignment of 0/1 to bool variable

That's definitely not a warning and quite sensible in any case. Please
learn C.