[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220705103143.1ea1d527@rorschach.local.home>
Date: Tue, 5 Jul 2022 10:31:43 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: mingo@...hat.com, peterz@...radead.org, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
bsegall@...gle.com, mgorman@...e.de, bristot@...hat.com,
vschneid@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sched/fair: fix boolreturn.cocci warning
On Tue, 5 Jul 2022 15:38:22 +0800
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com> wrote:
> This was found by coccicheck:
>
> ./kernel/sched/fair.c:9988:9-10: WARNING: return of 0/1 in function 'imbalanced_active_balance' with return type bool.
>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
As your subject says "fix boolreturn.cocci warning". Can you please?
That is, this change has been presented 10 times before, and every time
it is nacked or ignored. The true fix is to fix boolreturn.cocci to not
warn about this in existing code.
Just in case it wasn't clear. NACK to this change.
-- Steve
Powered by blists - more mailing lists