mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] use format(__printf__, a, b) instead of formart(printf, a, b)
@ 2011-12-03  5:44 Jean-Christophe PLAGNIOL-VILLARD
  2011-12-03  5:44 ` [PATCH 2/2] stdio: convert __attribute__ ((format(printf, a, b))) to __printf(a, b) Jean-Christophe PLAGNIOL-VILLARD
  2011-12-05  8:48 ` [PATCH 1/2] use format(__printf__, a, b) instead of formart(printf, a, b) Sascha Hauer
  0 siblings, 2 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-12-03  5:44 UTC (permalink / raw)
  To: barebox

to fix warning 'barebox_printf' is an unrecognized format function type

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 include/linux/compiler-gcc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h
index 73dcf80..d363fdb 100644
--- a/include/linux/compiler-gcc.h
+++ b/include/linux/compiler-gcc.h
@@ -75,7 +75,7 @@
  */
 #define __pure				__attribute__((pure))
 #define __aligned(x)			__attribute__((aligned(x)))
-#define __printf(a,b)			__attribute__((format(printf,a,b)))
+#define __printf(a,b)			__attribute__((format(__printf__,a,b)))
 #define  noinline			__attribute__((noinline))
 #define __attribute_const__		__attribute__((__const__))
 #define __maybe_unused			__attribute__((unused))
-- 
1.7.7


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-05 15:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-03  5:44 [PATCH 1/2] use format(__printf__, a, b) instead of formart(printf, a, b) Jean-Christophe PLAGNIOL-VILLARD
2011-12-03  5:44 ` [PATCH 2/2] stdio: convert __attribute__ ((format(printf, a, b))) to __printf(a, b) Jean-Christophe PLAGNIOL-VILLARD
2011-12-05  8:48 ` [PATCH 1/2] use format(__printf__, a, b) instead of formart(printf, a, b) Sascha Hauer
2011-12-05 15:07   ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox