WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Xen build warning fixes

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Xen build warning fixes
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 09 Feb 2007 09:40:46 -0800
Delivery-date: Fri, 09 Feb 2007 10:37:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Date 1170616019 25200
# Node ID 88c9ba6214bc642985874de7f4ed4b9677621cda
# Parent  339d9e632a80dbc6969483080c7497769bb9c6ff
[IA64] Xen build warning fixes

Missing include and remove an sprintf

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/xensetup.c               |    1 +
 xen/include/asm-ia64/linux-xen/linux/efi.h |    4 ++++
 2 files changed, 5 insertions(+)

diff -r 339d9e632a80 -r 88c9ba6214bc xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c      Sun Feb 04 11:41:25 2007 -0700
+++ b/xen/arch/ia64/xen/xensetup.c      Sun Feb 04 12:06:59 2007 -0700
@@ -27,6 +27,7 @@
 #include <linux/efi.h>
 #include <asm/iosapic.h>
 #include <xen/softirq.h>
+#include <xen/rcupdate.h>
 
 unsigned long xenheap_phys_end, total_pages;
 
diff -r 339d9e632a80 -r 88c9ba6214bc xen/include/asm-ia64/linux-xen/linux/efi.h
--- a/xen/include/asm-ia64/linux-xen/linux/efi.h        Sun Feb 04 11:41:25 
2007 -0700
+++ b/xen/include/asm-ia64/linux-xen/linux/efi.h        Sun Feb 04 12:06:59 
2007 -0700
@@ -280,7 +280,11 @@ static inline char *
 static inline char *
 efi_guid_unparse(efi_guid_t *guid, char *out)
 {
+#ifndef XEN
        sprintf(out, 
"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
+#else
+       snprintf(out, 37, 
"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
+#endif
                guid->b[3], guid->b[2], guid->b[1], guid->b[0],
                guid->b[5], guid->b[4], guid->b[7], guid->b[6],
                guid->b[8], guid->b[9], guid->b[10], guid->b[11],

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Xen build warning fixes, Xen patchbot-unstable <=