Re: [PATCH v5 2/7] iio: core: Refactor iio_device_claim_direct() implementation

Andy Shevchenko
2026-01-23T08:03:06Z

On Thu, Jan 22, 2026 at 05:20:55PM -0500, Kurt Borja wrote:
> On Thu Jan 22, 2026 at 2:04 PM -05, Jonathan Cameron wrote:
> > On Tue, 20 Jan 2026 01:20:42 -0500
> > Kurt Borja <kuurtb@gmail.com> wrote:

...

> > So sparse does change what it moans about with this one in precisely one instance
> > There are 9 false positives with Al Viro's updated sparse - I haven't checked the
> > original one recently.
>
> Hi Jonathan,
>
> Upstream sparse is kinda broken right now.

Yep, please switch to Al's version.

> I'm not getting any false positives on the locking stuff but a BUNCH of
> "error: bad constant expresion" on MODULE_*() macros so I don't fully
> trust it.
>
> I know at least one subsystem maintainer is getting these too so I guess
> it's an upstream problem.

Yes, it's fixed in Al's version.

--
With Best Regards,
Andy Shevchenko