Skip to content

Commit b410220

Browse files
committed
Merge tag 'locking-urgent-2026-03-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull locking fix from Ingo Molnar: "Now that LLVM 22 has been released officially, require a release version to use the new CONFIG_WARN_CONTEXT_ANALYSIS feature. In particular this avoids the widely used Android clang 22.0.1 pre-release build which is known to be broken for this usecase" * tag 'locking-urgent-2026-03-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: lib/Kconfig.debug: Require a release version of LLVM 22 for context analysis
2 parents afa8443 + ab6088e commit b410220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Kconfig.debug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ config DEBUG_FORCE_WEAK_PER_CPU
630630

631631
config WARN_CONTEXT_ANALYSIS
632632
bool "Compiler context-analysis warnings"
633-
depends on CC_IS_CLANG && CLANG_VERSION >= 220000
633+
depends on CC_IS_CLANG && CLANG_VERSION >= 220100
634634
# Branch profiling re-defines "if", which messes with the compiler's
635635
# ability to analyze __cond_acquires(..), resulting in false positives.
636636
depends on !TRACE_BRANCH_PROFILING
@@ -641,7 +641,7 @@ config WARN_CONTEXT_ANALYSIS
641641
and releasing user-definable "context locks".
642642

643643
Clang's name of the feature is "Thread Safety Analysis". Requires
644-
Clang 22 or later.
644+
Clang 22.1.0 or later.
645645

646646
Produces warnings by default. Select CONFIG_WERROR if you wish to
647647
turn these warnings into errors.

0 commit comments

Comments
 (0)