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

Jonathan Cameron <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <20260724010155.4cf3c327@jic23-huawei>
On Mon, 20 Jul 2026 14:29:53 +0300
Andy Shevchenko <[email protected]> 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 <[email protected]>
> Reviewed-by: Andy Shevchenko <[email protected]>
> 
> ...
> 
> >  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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.