Re: [PATCH] Bluetooth: btintel_pcie: Fix context analysis errors on req_lock

From: Nick Desaulniers

Date: Thu Dec 03 2026 - 14:32:08 EST


On Thu, Dec 3, 2026 at 10:15 AM Sasha Levin <sashal@xxxxxxxxxx> wrote:
>
> On Thu, Dec 03, 2026 at 01:01:48PM -0500, Luiz Augusto von Dentz wrote:
> >By clang 23 you mean LLVM=1 as well? There is a ton of other errors if
> >I enable CONFIG_WERROR so I assume this is just checking for new
> >errors in which case we need some sort of history to compare to.
>
> LLVM=1 is the usual way, but CC=clang is enough since the option only
> depends on CC_IS_CLANG.
>
> You don't need CONFIG_WERROR for this. All of these warnings are tagged
> -Wthread-safety-something, so your CI can just fail if any line in the
> build output contains "-Wthread-safety".
>
> Could you send me the build log with the other errors? I've been
> fixing the new clang 23 warnings around the tree, so I'd like to see
> what's still there.

We've been having a few maintainers dragging @$$ on merging fixes for
nascent compiler diagnostics, such as -Wunsequenced-volatile. See also
https://github.com/ClangBuiltLinux/continuous-integration2/pull/943.

We could use help from other kernel devs that also observe these
warnings help provide reviewed-by and tested-by tags on the
outstanding patches. :pray:
--
Thanks,
~Nick Desaulniers