Re: [PATCH] Bluetooth: btintel_pcie: Fix context analysis errors on req_lock
From: Luiz Augusto von Dentz
Date: Thu Dec 03 2026 - 13:55:33 EST
Hi Pauli,
On Thu, Dec 3, 2026 at 1:52 PM Pauli Virtanen <pav@xxxxxx> wrote:
>
> Hi Luiz,
>
> to, 2026-12-03 kello 13:01 -0500, Luiz Augusto von Dentz kirjoitti:
> > Hi Sasha,
> >
> > On Thu, Dec 3, 2026 at 12:53 PM Sasha Levin <sashal@xxxxxxxxxx> wrote:
> > >
> > > On Thu, Dec 03, 2026 at 11:16:40AM -0500, Luiz Augusto von Dentz wrote:
> > > > Can you give some more context so I can try enabling it in our CI to
> > > > avoid committing new code with this problem. (No need to respin just
> > > > want a lead to enable this sort of errors in our CI).
> > >
> > > It just needs clang 23 or newer. CONFIG_WARN_CONTEXT_ANALYSIS depends on
> > > that and defaults to y, and drivers/bluetooth and net/bluetooth already
> > > have CONTEXT_ANALYSIS := y in their Makefiles. They're warnings unless
> > > CONFIG_WERROR is set.
> >
> > 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.
>
> There is LLVM build test (CheckKernelLLVM) with context analysis +
> Werror enabled in the bluez CI.
Is that using clang 23? Or do we need to update the container to use
that version?
> CONFIG_BT_INTEL_PCIE=y seems missing from bluez/doc/ci.config that the
> kernel CI build tests use, so the build tests are probably not running
> for this driver.
I guess action-ci needs to be updated then.
>
> --
> Pauli Virtanen
--
Luiz Augusto von Dentz