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

From: Kalle Valo
Date: Fri Sep 13 2019 - 10:20:27 EST


zhong jiang <zhongjiang@xxxxxxxxxx> wrote:

> 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>

Patch applied to wireless-drivers-next.git, thanks.

3dfb22003f98 brcmsmac: Use DIV_ROUND_CLOSEST directly to make it readable

--
https://patchwork.kernel.org/patch/11133663/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches