Thread (4 messages) 4 messages, 2 authors, 2026-03-13

Re: [PATCH v2] iio: cleanup: uintptr_t to unsigned long

From: Andy Shevchenko <hidden>
Date: 2026-03-13 09:32:07
Also in: chrome-platform, linux-iio, lkml

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/ (local)

Suggested-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Tomas Borquez <redacted>
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


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help