Re[2]: [PATCH] Add missing SZ_xx defines

Alexander Shiyan shc_work at mail.ru
Fri Feb 15 03:43:58 EST 2013


> > Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> > ---
> >  include/sizes.h |   12 ++++++++++++
> >  1 files changed, 12 insertions(+), 0 deletions(-)
> > 
> > diff --git a/include/sizes.h b/include/sizes.h
> > index c47f906..321d40c 100644
> > --- a/include/sizes.h
> > +++ b/include/sizes.h
> > @@ -17,7 +17,19 @@
> >  #define __sizes_h			1
> >  
> >  /* handy sizes */
> > +#define SZ_1				0x00000001
> > +#define SZ_2				0x00000002
> > +#define SZ_4				0x00000004
> > +#define SZ_8				0x00000008
> > +#define SZ_16				0x00000010
> > +#define SZ_32				0x00008020
> 
> There is a tiny bug in the line above, can you find it? ;)
> 
> Fixed this. Reported-by: Steffen Trumtrar, who seems to have good eyes.

Ah, sorry. Thanks!

---


More information about the barebox mailing list