Re: [PATCH] sched/fair: fix variable "done" set but not used

From: Valentin Schneider
Date: Mon May 27 2019 - 09:29:11 EST


On 27/05/2019 01:53, Qian Cai wrote:
[...]
>> For some reason I can't get this warning to fire on my end (arm64 defconfig
>> + all the NO_HZ stuff set to nope + GCC 8.1). However I do think there are
>> things we could improve here.
>
> I like your approach more if it works. The warning can be reproduced by compiling with W=1.
>

Oh, duh, I thought this one would show up in the regular warnings. I gave it
a spin and the warning does disappear.

[...]