Dear Sergei, In message <[EMAIL PROTECTED]> you wrote: > > Subject: [PATCH] Added a do_div() wrapper macro, lldiv(). > The new macro doesn't modify the dividend and returns the result of > division, > so it is useful in complex expressions, i.e. "return(a/b)" -> > "return(lldiv(a,b))"
Instead of a macro, please make this an inline function (which is better as it allows for examply more strict type checking by the compiler). Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] e-credibility: the non-guaranteeable likelihood that the electronic data you're seeing is genuine rather than somebody's made-up crap. - Karl Lehenbauer _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

