Re: [PATCH v2] iio: cleanup: uintptr_t to unsigned long
From: Andy Shevchenko
Date: Fri Mar 13 2026 - 05:36:29 EST
On Fri, Mar 13, 2026 at 04:10:14AM -0300, Tomas Borquez wrote:
> Linus has been explicit that uintptr_t should not be used in the kernel.
>
> The iio_chan_spec_ext_info struct uses uintptr_t for the private field
> and in its read/write function pointer signatures. Jonathan Cameron noted
> this should be cleaned up in one go across all users [1].
>
> Update the struct definition in iio.h and backend.h, along with all
> drivers implementing or using iio_chan_spec_ext_info callbacks.
>
> No functional change intended.
>
> [1] https://lore.kernel.org/linux-iio/20260111122034.174c754c@jic23-huawei/
>
> Suggested-by: Jonathan Cameron <jic23@xxxxxxxxxx>
> Signed-off-by: Tomas Borquez <tomasborquez13@xxxxxxxxx>
Please, really, take your time and study process documentation!
No new version, especially that SPAMS so many people, in less
than 24h. You must give a chance other people to review.
This version effectively ignores all my comments I just gave against v1.
So big NAK again!
--
With Best Regards,
Andy Shevchenko