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

From: Jules Irenge
Date: Fri Apr 03 2020 - 12:23:09 EST




On Mon, 30 Mar 2020, Peter Zijlstra wrote:

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.

Thanks for the reply, I think I took the warning literally. I will take the advice any way.

Thanks,
Jules