From: Nathan Chancellor <nathan@kernel.org>
To: linux-kernel@vger.kernel.org, llvm@lists.linux.dev,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <nick.desaulniers+lkml@gmail.com>,
Bill Wendling <morbo@google.com>,
Justin Stitt <justinstitt@google.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Dan Williams <dan.j.williams@intel.com>,
Jonathan Cameron <jonathan.cameron@huawei.com>,
Peter Zijlstra <peterz@infradead.org>
Subject: Re: [PATCH v1 1/1] compiler_types: Warn about unused static inline functions on second
Date: Fri, 07 Nov 2025 11:29:01 -0700 [thread overview]
Message-ID: <176254014196.4089614.8446049205890806125.b4-ty@kernel.org> (raw)
In-Reply-To: <20251106105000.2103276-1-andriy.shevchenko@linux.intel.com>
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@kernel.org>
prev parent reply other threads:[~2025-11-07 18:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-06 10:50 Andy Shevchenko
2025-11-06 15:16 ` Nathan Chancellor
2025-11-06 16:01 ` Andy Shevchenko
2025-11-06 17:06 ` Nathan Chancellor
2025-11-07 7:45 ` Andy Shevchenko
2025-11-06 19:13 ` Linus Torvalds
2025-11-07 18:29 ` Nathan Chancellor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176254014196.4089614.8446049205890806125.b4-ty@kernel.org \
--to=nathan@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=dan.j.williams@intel.com \
--cc=jonathan.cameron@huawei.com \
--cc=justinstitt@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=morbo@google.com \
--cc=nick.desaulniers+lkml@gmail.com \
--cc=peterz@infradead.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®