[U-Boot] [PATCH 1/2] COMMON: Add __stringify() function
Marek Vasut
marex at denx.de
Sat Jul 28 21:39:05 CEST 2012
Dear Wolfgang Denk,
> Dear Marek Vasut,
>
> In message <1343483279-11572-1-git-send-email-marex at denx.de> you wrote:
> > This function converts static number to string in preprocessor.
> > This is useful as it allows higher usage of puts() in favour of printf()
> >
> > Signed-off-by: Marek Vasut <marex at denx.de>
> > Cc: Wolfgang Denk <wd at denx.de>
> > Cc: Mike Frysinger <vapier at gentoo.org>
> > ---
> >
> > include/common.h | 7 +++++++
> > 1 file changed, 7 insertions(+)
>
> We have similar things already, and we don't add dead code - you add a
> macro without users here.
It's used in 2/2 ... what macro do you have in mind ?
> If you want to unify the use of such a macro, fine - but then please
> replace all ocurrences of equivalent definitions all over the code.
>
> Thanks.
>
> Best regards,
>
> Wolfgang Denk
Best regards,
Marek Vasut
More information about the U-Boot
mailing list