On Fri, Nov 07, 2014 at 03:03:26AM +0900, Masahiro Yamada wrote:

> The Linux-compatible macro DIV_ROUND_CLOSEST is a bit more flexible
> and safer than DIV_ROUND.
> 
> For example,
>   foo = DIV_ROUND_CLOSEST(x, y++)
> works expectedly, but
>   foo = DIV_ROUND(x, y++)
> does not. (y is incremented twice.)
> 
> Signed-off-by: Masahiro Yamada <yamad...@jp.panasonic.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to