Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30037C433FE for ; Mon, 22 Nov 2021 10:00:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239049AbhKVKDj convert rfc822-to-8bit (ORCPT ); Mon, 22 Nov 2021 05:03:39 -0500 Received: from aposti.net ([89.234.176.197]:56024 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238875AbhKVKDi (ORCPT ); Mon, 22 Nov 2021 05:03:38 -0500 Date: Mon, 22 Nov 2021 10:00:19 +0000 From: Paul Cercueil Subject: Re: [PATCH 03/15] iio: buffer-dma: Use round_down() instead of rounddown() To: Jonathan Cameron Cc: Alexandru Ardelean , Lars-Peter Clausen , Michael Hennerich , Sumit Semwal , Christian =?iso-8859-1?b?S/ZuaWc=?= , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Message-Id: In-Reply-To: <20211121140823.6b2922f6@jic23-huawei> References: <20211115141925.60164-1-paul@crapouillou.net> <20211115141925.60164-4-paul@crapouillou.net> <20211121140823.6b2922f6@jic23-huawei> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jonathan, Le dim., nov. 21 2021 at 14:08:23 +0000, Jonathan Cameron a ?crit : > On Mon, 15 Nov 2021 14:19:13 +0000 > 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 > 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