Re: [PATCH v2] iio: accel: bmc150: use IIO_DECLARE_BUFFER_WITH_TS
From: Andy Shevchenko
Date: Mon Aug 10 2026 - 05:05:11 EST
On Mon, Aug 10, 2026 at 12:18:52AM +0100, Jonathan Cameron wrote:
> On Sun, 9 Aug 2026 23:59:34 +0100
> Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> > On Sun, 9 Aug 2026 11:24:42 +0530
> > Yash Suthar <yashsuthar983@xxxxxxxxx> wrote:
...
> Actually no. I've backed that out.
>
> Given the data alignment is fixed, if we were going to do this it would
> be clearer as
> struct {
> s16 chans[3]; //see later, I believe this should be __le16
> aligned_s64 timestamp;
> };
>
> But that is very similar to the structure that follows immediately after
> this, but that has __le16 chans[]
>
> So what is going on here?
AI slop?
--
With Best Regards,
Andy Shevchenko