Re: [PATCH] ethernet: micrel: Use DIV_ROUND_CLOSEST directly to make it readable

From: David Miller
Date: Sat Sep 07 2019 - 11:19:12 EST


From: zhong jiang <zhongjiang@xxxxxxxxxx>
Date: Thu, 5 Sep 2019 23:53:48 +0800

> The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
> but is perhaps more readable.
>
> Signed-off-by: zhong jiang <zhongjiang@xxxxxxxxxx>

Applied to net-next.