[PATCH v4 0/9] iio: enable context analysis for all drivers
Jonathan Cameron
jic23 at kernel.org
Sat Oct 31 20:30:18 PDT 2026
On Tue, 27 Oct 2026 14:49:45 +0200
Rupesh Majhi <zoone.rupert at gmail.com> wrote:
> Jonathan asked for the qcom-spmi-adc5-gen3 fix to become the first
> patch of a series that enables context analysis across IIO [1]. This
> is that series.
Nice work. I'm very happy to see this. I had a play the other day
with the patches reordered so I could see the reports getting
fixed as I went patch by patch.
Applied with the last patch modified to what Marco Elver suggested.
I added a note to say that I'd modified that from the posted patch.
(pasted below)
Please take a look and check I didn't mess it up.
I kept your sign off as fundamental change was yours even if the
actual diff ends up completely different!
Now on the testing branch of iio.git which I'll rebase on rc1 in
the next few days and push out for linux-next to pick up towards
the end of the week.
Thanks,
Jonathan
From 137ca6e5de3bd4e1056877d0b82214e82143efa7 Mon Sep 17 00:00:00 2001
From: Rupesh Majhi <zoone.rupert at gmail.com>
Date: Sun, 1 Nov 2026 03:24:24 +0000
Subject: [PATCH] All of drivers/iio now builds without context analysis
warnings, so enable it for drivers/iio.
Modified from posted patch following suggestion from Marco Elver
to limit the necessary change to the top level Makefile.
Suggested-by: Jonathan Cameron <jic23 at kernel.org>
Signed-off-by: Rupesh Majhi <zoone.rupert at gmail.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron at oss.qualcomm.com>
---
drivers/iio/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
index 4e1d930108de..a238c015a70f 100644
--- a/drivers/iio/Makefile
+++ b/drivers/iio/Makefile
@@ -2,6 +2,7 @@
#
# Makefile for the industrial I/O core.
#
+subdir-ccflags-y += $(CFLAGS_CONTEXT_ANALYSIS)
obj-$(CONFIG_IIO) += industrialio.o
industrialio-y := industrialio-core.o industrialio-event.o inkern.o
--
2.56.0
More information about the linux-arm-kernel
mailing list