[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176254014196.4089614.8446049205890806125.b4-ty@kernel.org>
Date: Fri, 07 Nov 2025 11:29:01 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: linux-kernel@...r.kernel.org, llvm@...ts.linux.dev,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Dan Williams <dan.j.williams@...el.com>,
Jonathan Cameron <jonathan.cameron@...wei.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH v1 1/1] compiler_types: Warn about unused static inline
functions on second
On Thu, 06 Nov 2025 11:50:00 +0100, Andy Shevchenko wrote:
> Per Nathan, clang catches unused "static inline" functions in C files since
> commit 6863f5643dd7 ("kbuild: allow Clang to find unused static inline
> functions for W=1 build").
>
> Linus said:
>
> > So I entirely ignore W=1 issues, because I think so many of the extra
> > warnings are bogus.
> >
> > But if this one in particular is causing more problems than most -
> > some teams do seem to use W=1 as part of their test builds - it's fine
> > to send me a patch that just moves bad warnings to W=2.
> >
> > And if anybody uses W=2 for their test builds, that's THEIR problem..
>
> [...]
Applied, thanks!
[1/1] compiler_types: Warn about unused static inline functions on second
https://git.kernel.org/kbuild/c/9818af18db4bf
Best regards,
--
Nathan Chancellor <nathan@...nel.org>
Powered by blists - more mailing lists