[PATCH v2 12/12] block: Enable lock context analysis for all block drivers

Bart Van Assche <[email protected]> Thu, 30 Jul 2026 12:58:35 -0700
Newsgroups org.kernel.vger.linux-block
Message-ID <cf04896c812147e509ea174ad31b278f98c4b43b.1785440858.git.bvanassche@acm.org>
Now that all locking functions in block drivers have been annotated,
enable lock context analysis for all block drivers at the top level of
drivers/block/.

Signed-off-by: Bart Van Assche <[email protected]>
---
 drivers/block/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/block/Makefile b/drivers/block/Makefile
index 2d8096eb8cdf..e17f6381b798 100644
--- a/drivers/block/Makefile
+++ b/drivers/block/Makefile
@@ -6,6 +6,8 @@
 # Rewritten to use lists instead of if-statements.
 # 
 
+CONTEXT_ANALYSIS := y
+
 # needed for trace events
 ccflags-y				+= -I$(src)