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] [XEN] Add const attribute to elf_sanity_c

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN] Add const attribute to elf_sanity_check() parameter on all arches.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Dec 2006 15:10:08 -0800
Delivery-date: Sat, 23 Dec 2006 15:10:51 -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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Date 1166866818 0
# Node ID bbd1c469ff5b17170fa657f21817aaa0d19dd7fd
# Parent  36e33da5146bef9109723bb96a356d1fca14496e
[XEN] Add const attribute to elf_sanity_check() parameter on all arches.
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/domain.c      |    2 +-
 xen/arch/powerpc/domain_build.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 36e33da5146b -r bbd1c469ff5b xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Sat Dec 23 09:38:07 2006 +0000
+++ b/xen/arch/ia64/xen/domain.c        Sat Dec 23 09:40:18 2006 +0000
@@ -867,7 +867,7 @@ int shadow_mode_control(struct domain *d
 #endif
 
 // see arch/x86/xxx/domain_build.c
-int elf_sanity_check(Elf_Ehdr *ehdr)
+int elf_sanity_check(const Elf_Ehdr *ehdr)
 {
        if (!(IS_ELF(*ehdr)))
        {
diff -r 36e33da5146b -r bbd1c469ff5b xen/arch/powerpc/domain_build.c
--- a/xen/arch/powerpc/domain_build.c   Sat Dec 23 09:38:07 2006 +0000
+++ b/xen/arch/powerpc/domain_build.c   Sat Dec 23 09:40:18 2006 +0000
@@ -51,7 +51,7 @@ static unsigned int opt_dom0_shadow;
 static unsigned int opt_dom0_shadow;
 boolean_param("dom0_shadow", opt_dom0_shadow);
 
-int elf_sanity_check(Elf_Ehdr *ehdr)
+int elf_sanity_check(const Elf_Ehdr *ehdr)
 {
     if (IS_ELF(*ehdr))
         /* we are happy with either */

_______________________________________________
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] [XEN] Add const attribute to elf_sanity_check() parameter on all arches., Xen patchbot-unstable <=