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

From: Paul Cercueil
Date: Mon Nov 22 2021 - 05:00:34 EST


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.

Cheers,
-Paul