[PATCH v5 06/36] cleanup: Basic compatibility with context analysis
Lorenzo Stoakes
lorenzo.stoakes at oracle.com
Tue Jan 27 10:14:23 UTC 2026
+cc Sid for awareness
Hi,
This patch breaks the radix tree and VMA userland tests. The next bots didn't
catch it but it seems now they're building the userland VMA tests
(e.g. https://lore.kernel.all/202601271308.b8d3fcb6-lkp@intel.com/) but maybe
not caught up to the issue this one caused (fails build in tools/testing/vma and
tools/testing/radix-tree).
Anyway it's a really easy fix, just need to stub out __no_context_analysis in
the tools/include copy of compiler_types.h, fix-patch provided below.
To avoid bisection hazard it'd be nice if it could be folded into this series
before this patch, but if we're too late in the cycle for that I can submit a
fix separately.
Thanks, Lorenzo
----8<----
>From cc2390dbefed156757f001e8c3a500a6f8aa1244 Mon Sep 17 00:00:00 2001
From: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
Date: Tue, 27 Jan 2026 10:10:55 +0000
Subject: [PATCH] fix
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
---
tools/include/linux/compiler_types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/include/linux/compiler_types.h b/tools/include/linux/compiler_types.h
index 949b2cdd3412..ca60d491d4e8 100644
--- a/tools/include/linux/compiler_types.h
+++ b/tools/include/linux/compiler_types.h
@@ -60,4 +60,6 @@
__scalar_type_to_expr_cases(long long), \
default: (x)))
+#define __no_context_analysis
+
#endif /* __LINUX_COMPILER_TYPES_H */
--
2.52.0
More information about the Linux-security-module-archive
mailing list