[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180409103442.oiib3bi7rms5sgg3@gauss3.secunet.de>
Date: Mon, 9 Apr 2018 12:34:42 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Kevin Easton <kevin@...rana.org>
CC: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/2] af_key: Use DIV_ROUND_UP() instead of open-coded
equivalent
On Sat, Apr 07, 2018 at 11:40:47AM -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 <kevin@...rana.org>
Please resubmit this one to ipsec-next after the
merge window. Thanks!
Powered by blists - more mailing lists