Re: [PATCH 1/2] af_key: Use DIV_ROUND_UP() instead of open-coded equivalent

From: Steffen Klassert
Date: Wed Mar 28 2018 - 01:59:34 EST


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 <kevin@xxxxxxxxxxx>

Is this a fix or just a cleanup?
If it is just a cleanup, please resent it based on ipsec-next.