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

2021-11-27 Thread Jonathan Cameron
On Mon, 22 Nov 2021 10:00:19 + Paul Cercueil wrote: > Hi Jonathan, > > Le dim., nov. 21 2021 at 14:08:23 +, Jonathan Cameron > a écrit : > > On Mon, 15 Nov 2021 14:19:13 + > > Paul Cercueil wrote: > > > >> We know that the buffer's alignment will always be a power of two; >

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

2021-11-22 Thread Paul Cercueil
Hi Jonathan, Le dim., nov. 21 2021 at 14:08:23 +, Jonathan Cameron a écrit : On Mon, 15 Nov 2021 14:19:13 + Paul Cercueil 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

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

2021-11-21 Thread Jonathan Cameron
On Mon, 15 Nov 2021 14:19:13 + Paul Cercueil 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 *groan*. I don't want to know where the naming of these two came from but that

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

2021-11-16 Thread Alexandru Ardelean
On Mon, Nov 15, 2021 at 4:19 PM Paul Cercueil wrote: > > We know that the buffer's alignment will always be a power of two; > therefore, we can use the faster round_down() macro. > Reviewed-by: Alexandru Ardelean > Signed-off-by: Paul Cercueil > --- >

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

2021-11-15 Thread Paul Cercueil
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 --- drivers/iio/buffer/industrialio-buffer-dmaengine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git