[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251020104934.GQ3419281@noisy.programming.kicks-ass.net>
Date: Mon, 20 Oct 2025 12:49:34 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev, Ingo Molnar <mingo@...hat.com>,
Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Valentin Schneider <vschneid@...hat.com>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>
Subject: Re: [PATCH v1 1/1] sched: Remove never used code in mm_cid_get()
On Mon, Oct 20, 2025 at 01:10:44PM +0300, Andy Shevchenko wrote:
> On Wed, Oct 15, 2025 at 11:19:34AM +0200, Andy Shevchenko wrote:
> > Clang is not happy with set but unused variable (this is visible
> > with `make W=1` build:
> >
> > kernel/sched/sched.h:3744:18: error: variable 'cpumask' set but not used [-Werror,-Wunused-but-set-variable]
> >
> > It seems like the variable was never be used along with the assignment that
> > does not have side effects as far as I can see. Remove those altogether.
>
> Anybody to apply this for fixes?
Why? W=1 and WERROR is very much you get to keep the pieces land, no?
Powered by blists - more mailing lists