[U-Boot-Users] [PATCH 1/4] Add ALIGN() macro
Wolfgang Denk
wd at denx.de
Wed May 21 00:29:16 CEST 2008
In message <20080520210914.GB18756 at game.jcrosoft.org> you wrote:
>
> > +#define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1)
> > +#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask))
> please fix coding style and use tab instead of space for indent
>
> #define ALIGN(x, a) __ALIGN_MASK(x, (typeof(x)) (a) - 1)
Actually that should be
... __ALIGN_MASK((x), (typeof(x)) (a) - 1)
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
I have a very small mind and must live with it. -- Edsger Dijkstra
More information about the U-Boot
mailing list