[PATCH v4 9/9] iio: enable context analysis for all drivers
Jonathan Cameron
jic23 at kernel.org
Sat Oct 31 15:35:37 PDT 2026
On Tue, 27 Oct 2026 18:21:29 +0100
Marco Elver <elver at google.com> wrote:
> On Tue, 27 Oct 2026 at 17:14, Andy Shevchenko
> <andriy.shevchenko at intel.com> wrote:
> >
> > On Tue, Oct 27, 2026 at 02:49:54PM +0200, Rupesh Majhi wrote:
> > > All of drivers/iio now builds without context analysis warnings, so
> > > enable it in every Makefile that builds objects, replacing the entry
> > > for dps310 alone.
> >
> > ...
> >
> > > +++ b/drivers/iio/Makefile
> >
> > > +CONTEXT_ANALYSIS := y
> >
> > Can we reduce the churn to only adding it here and do some magic to propagate
> > this recursively, please? I truly believe it's feasible to achieve.
>
> Should be:
>
> subdir-ccflags-y += $(CFLAGS_CONTEXT_ANALYSIS)
Nice. If nothing else comes up requiring a v5. I'll tweak the
last patch to just do this whilst applying.
Will leave these on the list for a few more days but I
just gave them a spin and they seem to be working well.
Thanks,
Jonathan
More information about the linux-arm-kernel
mailing list