Re: [PATCH 03/15] iio: buffer-dma: Use round_down() instead of rounddown()

From: Jonathan Cameron
Date: Sat Nov 27 2021 - 10:12:50 EST


On Mon, 22 Nov 2021 10:00:19 +0000
Paul Cercueil <paul@xxxxxxxxxxxxxxx> wrote:

> Hi Jonathan,
>
> Le dim., nov. 21 2021 at 14:08:23 +0000, Jonathan Cameron
> <jic23@xxxxxxxxxx> a écrit :
> > On Mon, 15 Nov 2021 14:19:13 +0000
> > Paul Cercueil <paul@xxxxxxxxxxxxxxx> wrote:
> >
> >> We know that the buffer's alignment will always be a power of two;
> >> therefore, we can use the faster round_down() macro.
> >>
> >> Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
> > *groan*. I don't want to know where the naming of these two came
> > from but that
> > is spectacular...
> >
> > Anyhow, happy to pick up 1-3 now if you like as all are good cleanup
> > of
> > existing code.
>
> I think you can pick 2-3 now; I will do some changes to patch [01/15]
> in the V2.

Applied, 2+3 to the togreg branch of iio.git and pushed out as testing for all
the normal reasons.

Thanks,

Jonathan

>
> Cheers,
> -Paul
>
>