Re: [PATCH] Bluetooth: btintel_pcie: Fix context analysis errors on req_lock
From: Luiz Augusto von Dentz
Date: Thu Dec 03 2026 - 13:02:07 EST
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.
> --
> Thanks,
> Sasha
--
Luiz Augusto von Dentz