From: Wolfgang Denk Date: Sat, 28 Jul 2012 21:36:54 +0200 Subject: [U-Boot] [PATCH 1/2] COMMON: Add __stringify() function In-Reply-To: <1343483279-11572-1-git-send-email-marex@denx.de> References: <1343483279-11572-1-git-send-email-marex@denx.de> Message-ID: <20120728193654.6341B200346@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek Vasut, In message <1343483279-11572-1-git-send-email-marex@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 > Cc: Wolfgang Denk > Cc: Mike Frysinger > --- > 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. 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 -- 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 Bus error -- driver executed.