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] Fix build for pedantic compilers.

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 83fe78bb876dfc6d75008c715a772ea2319aae83
# Parent  c89485e939cccb4c74af334b33fcca9e21ad13b2
Fix build for pedantic compilers.

diff -r c89485e939cc -r 83fe78bb876d xen/common/grant_table.c
--- a/xen/common/grant_table.c  Sat Sep 24 07:58:41 2005
+++ b/xen/common/grant_table.c  Sat Sep 24 14:35:47 2005
@@ -83,7 +83,7 @@
     int            handle;
     u64            addr;
     unsigned long  frame = 0;
-    int            rc;
+    int            rc = GNTST_okay;
     active_grant_entry_t *act;
 
     /* Entry details from @rd's shared grant table. */
@@ -377,7 +377,6 @@
 
             spin_unlock(&rd->grant_table->lock);
         }
-
     }
 
     ld->grant_table->maptrack[handle].domid         = dom;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix build for pedantic compilers., Xen patchbot -unstable <=