[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] arm: Fix after 54353cae096c "xen/arm: check string format for early_printk"



commit 7476f4788250ef281e09b449753c7ddc19239c64
Author:     Julien Grall <julien.grall@xxxxxxxxxx>
AuthorDate: Thu May 30 21:50:35 2013 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Thu May 30 21:50:35 2013 +0100

    arm: Fix after 54353cae096c "xen/arm: check string format for early_printk"
    
    Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 xen/include/asm-arm/early_printk.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/xen/include/asm-arm/early_printk.h 
b/xen/include/asm-arm/early_printk.h
index 03ead23..5f7c529 100644
--- a/xen/include/asm-arm/early_printk.h
+++ b/xen/include/asm-arm/early_printk.h
@@ -21,11 +21,12 @@ void early_panic(const char *fmt, ...) 
__attribute__((noreturn))
 
 #else
 
-static inline void early_printk(const char *fmt, ...)
-    __attribute__((format (printf, 1, 2)))
+static inline  __attribute__((format (printf, 1, 2))) void
+early_printk(const char *fmt, ...)
 {}
-static inline void  __attribute__((noreturn)) early_panic(const char *fmt, ...)
-    __attribute__((format (printf, 1, 2)))
+
+static inline void  __attribute__((noreturn))
+__attribute__((format (printf, 1, 2))) early_panic(const char *fmt, ...)
 {while(1);}
 
 #endif
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.