Re: [PATCH v2 1/3] iio: inv_sensors: convert to kernel types

From: Jonathan Cameron

Date: Thu Jul 23 2026 - 20:02:38 EST


On Mon, 20 Jul 2026 14:29:53 +0300
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:

> On Mon, Jul 20, 2026 at 12:38:32PM +0200, Jean-Baptiste Maneyrol via B4 Relay wrote:
>
> > Convert standard types (u)intXX_t to kernel type u/sXX.
>
> Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
>
> ...
>
> > void inv_sensors_timestamp_apply_odr(struct inv_sensors_timestamp *ts,
> > - uint32_t fifo_period, size_t fifo_nb,
> > + u32 fifo_period, size_t fifo_nb,
> > unsigned int fifo_no)
> > {
> > - int64_t interval;
> > - uint32_t fifo_mult;
> > + s64 interval;
> > + u32 fifo_mult;
>
> It makes sense to also amend the ordering to follow reversed xmas tree.
> (On a glance there are more places, but let Jonathan to tweak if he feels
> so.)
>
I'm feeling lazy so nope, left them alone.

Picked up the series on the testing branch of iio.git.

Thanks,

Jonathan