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-devel

[Xen-devel] [PATCH] warning fix

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] warning fix
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Thu, 24 Apr 2008 14:27:15 +0900
Delivery-date: Wed, 23 Apr 2008 22:27:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Fix a trivial warning.

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

diff -r 77dec8732cde xen/common/xencomm.c
--- a/xen/common/xencomm.c      Wed Apr 23 16:58:44 2008 +0100
+++ b/xen/common/xencomm.c      Thu Apr 24 14:16:58 2008 +0900
@@ -323,7 +323,7 @@
                (unsigned long)xencomm_vaddr(paddr, page));
 
     memcpy(xencomm_vaddr(paddr, page), (void *)from, len);
-    xencomm_mark_dirty(xencomm_vaddr(paddr, page), len);
+    xencomm_mark_dirty((unsigned long)xencomm_vaddr(paddr, page), len);
     put_page(page);
 
     return 0;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] warning fix, Kouya Shimura <=