From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Easton Subject: Re: [PATCH 1/2] af_key: Use DIV_ROUND_UP() instead of open-coded equivalent Date: Wed, 28 Mar 2018 21:35:26 -0400 Message-ID: <20180329013526.GA27752@la.guarana.org> References: <930c4e2a88e93c6863ddb97df9ebd0fa1b32149e.1522063171.git.kevin@guarana.org> <20180328055925.skrjbax24he3vcpk@gauss3.secunet.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Herbert Xu , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Steffen Klassert Return-path: Content-Disposition: inline In-Reply-To: <20180328055925.skrjbax24he3vcpk@gauss3.secunet.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, Mar 28, 2018 at 07:59:25AM +0200, Steffen Klassert wrote: > On Mon, Mar 26, 2018 at 07:39:16AM -0400, Kevin Easton wrote: > > Several places use (x + 7) / 8 to convert from a number of bits to a number > > of bytes. Replace those with DIV_ROUND_UP(x, 8) instead, for consistency > > with other parts of the same file. > > > > Signed-off-by: Kevin Easton > > Is this a fix or just a cleanup? > If it is just a cleanup, please resent it based on ipsec-next. Hi Steffen, This patch (1/2) is just a cleanup, but it's in preparation for patch 2/2 which is a fix and modifies some of the same lines. - Kevin