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] [linux-2.6.18-xen] [IA64] Remove 'may be uninitialized'

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] Remove 'may be uninitialized' warning
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2007 02:23:19 -0700
Delivery-date: Fri, 27 Jul 2007 02:21:19 -0700
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 Alex Williamson <alex.williamson@xxxxxx>
# Date 1183664101 21600
# Node ID 52ec41fa9cd152107da8f5d1ce60b6019339e4b0
# Parent  291e24787f8b5d0fe0af1377bd37d38da78168c3
[IA64] Remove 'may be uninitialized' warning

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 arch/ia64/xen/hypervisor.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 291e24787f8b -r 52ec41fa9cd1 arch/ia64/xen/hypervisor.c
--- a/arch/ia64/xen/hypervisor.c        Mon Jul 02 12:20:27 2007 -0600
+++ b/arch/ia64/xen/hypervisor.c        Thu Jul 05 13:35:01 2007 -0600
@@ -984,7 +984,6 @@ p2m_expose_init(void)
        int error = 0;
 #ifdef CONFIG_XEN_IA64_EXPOSE_P2M_USE_DTR
        int i;
-       unsigned long page_size;
        unsigned long log_page_size = 0;
 #endif
 
@@ -1013,6 +1012,7 @@ p2m_expose_init(void)
 
 #ifdef CONFIG_XEN_IA64_EXPOSE_P2M_USE_DTR
        if (xen_ia64_p2m_expose_use_dtr) {
+               unsigned long page_size = 0;
                unsigned long granule_pfn = 0;
                p2m_size = ((p2m_max_low_pfn - p2m_min_low_pfn +
                             PTRS_PER_PTE - 1) / PTRS_PER_PTE) << PAGE_SHIFT;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [IA64] Remove 'may be uninitialized' warning, Xen patchbot-linux-2.6.18-xen <=