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 debug build.

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 342ccfca85d75872ff32074e6d9f697464a5e784
# Parent  dc8380497e98c1d562cb3d9b5f60b9972c1005bc
Fix debug build.

diff -r dc8380497e98 -r 342ccfca85d7 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Sun Aug 21 12:24:21 2005
+++ b/xen/common/grant_table.c  Sun Aug 21 16:24:23 2005
@@ -70,13 +70,13 @@
 
 static int
 __gnttab_activate_grant_ref(
-    struct domain          *mapping_d,          /* IN */
+    struct domain   *mapping_d,          /* IN */
     struct vcpu     *mapping_ed,
-    struct domain          *granting_d,
-    grant_ref_t             ref,
-    u16                     dev_hst_ro_flags,
-    u64           addr,
-    u64          *pframe )            /* OUT */
+    struct domain   *granting_d,
+    grant_ref_t      ref,
+    u16              dev_hst_ro_flags,
+    u64              addr,
+    u64             *pframe )            /* OUT */
 {
     domid_t               sdom;
     u16                   sflags;
@@ -342,7 +342,7 @@
     struct vcpu          *led;
     u16                   dev_hst_ro_flags;
     int                   handle;
-    u64 frame = 0, addr;
+    u64                   frame = 0, addr;
     int                   rc;
 
     led = current;
@@ -363,7 +363,7 @@
            (!(dev_hst_ro_flags & GNTMAP_contains_pte) && 
             unlikely(!__addr_ok(addr))) ) )
     {
-        DPRINTK("Bad virtual address (%llx) or flags (%x).\n",
+        DPRINTK("Bad virtual address (%"PRIx64") or flags (%"PRIx16").\n",
                 addr, dev_hst_ro_flags);
         (void)__put_user(GNTST_bad_virt_addr, &uop->handle);
         return GNTST_bad_gntref;
@@ -496,13 +496,12 @@
     grant_ref_t    ref;
     u16            handle;
     struct domain *ld, *rd;
-
     active_grant_entry_t *act;
     grant_entry_t *sha;
     grant_mapping_t *map;
     u16            flags;
     s16            rc = 1;
-    u64 frame, addr;
+    u64            frame, addr;
 
     ld = current->domain;
 

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

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