[U-Boot] [PATCH v7 03/23] Add abs() macro to return absolute value

Wolfgang Denk wd at denx.de
Fri May 11 23:24:29 CEST 2012


Dear Simon Glass,

In message <CAPnjgZ1jSrcdNVgN5aMG+z-94-vpH2ym3B=D6pJ6Bxib7oek2A at mail.gmail.com> you wrote:
>
> > I have to admit that I tend to prefer the typeof() version, and I
> > wonder why the kernel doesn;t use that.  I guess there are reasons for
> > that.  Does anybody know what these might be?
> >
> 
> Not me, but:

Thanks.  So there is indeed a problem with the "obvious"
implementation :-(

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: wd at denx.de
Madness takes its toll. Please have exact change.


More information about the U-Boot mailing list