[U-Boot] [PATCH 1/2] GCC4.6: Convert various empty macros to inline functions

Marek Vasut marek.vasut.n900 at gmail.com
Fri Sep 23 23:52:35 CEST 2011


> On Friday, September 23, 2011 15:09:52 Marek Vasut wrote:
> > --- a/include/common.h
> > +++ b/include/common.h
> > 
> > -#define debugX(level,fmt,args...)
> > +static inline void debugX(const char *fmt, ...) {}
> 
> NAK:   you broke debugX()

oh, right, good catch. But is this macro even used anyway?

> 
> personally i'd prefer we unify these like we did with the assert(), but
> this   change is better than nothing
> -mike



More information about the U-Boot mailing list