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

From: Pauli Virtanen

Date: Thu Dec 03 2026 - 13:53:05 EST


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.

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.

--
Pauli Virtanen