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 <[email protected]>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

