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

Re: [Xen-devel] [PATCH] linux/blktap2: fix compiler warnings

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] linux/blktap2: fix compiler warnings
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Thu, 28 May 2009 14:10:31 +0100
Delivery-date: Thu, 28 May 2009 06:11:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A1EA80F0200007800003142@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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4A1EA80F0200007800003142@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> "Jan Beulich" <JBeulich@xxxxxxxxxx> 28.05.09 15:04 >>>
>Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
>
>--- a/drivers/xen/blktap2/device.c
>+++ b/drivers/xen/blktap2/device.c
>...

Here's a version that applies without fuzz to c/s 886.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- sle10sp3-2009-05-28.orig/drivers/xen/blktap2/device.c       2009-05-28 
13:25:57.000000000 +0200
+++ sle10sp3-2009-05-28/drivers/xen/blktap2/device.c    2009-05-28 
14:51:38.000000000 +0200
@@ -162,7 +162,7 @@ blktap_map_uaddr_fn(pte_t *ptep, struct 
 {
        pte_t *pte = (pte_t *)data;
 
-       BTDBG("ptep %p -> %012llx\n", ptep, pte_val(*pte));
+       BTDBG("ptep %p -> %012llx\n", ptep, (unsigned long long)pte_val(*pte));
        set_pte(ptep, *pte);
        return 0;
 }
--- sle10sp3-2009-05-28.orig/drivers/xen/blktap2/sysfs.c        2009-05-28 
10:15:07.000000000 +0200
+++ sle10sp3-2009-05-28/drivers/xen/blktap2/sysfs.c     2009-05-28 
14:52:05.000000000 +0200
@@ -188,7 +188,7 @@ blktap_sysfs_resume_device(struct class_
 out:
        blktap_sysfs_exit(tap);
 
-       BTDBG("returning %d\n", (err ? err : size));
+       BTDBG("returning %zd\n", (err ? err : size));
        return (err ? err : size);
 }
 




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

<Prev in Thread] Current Thread [Next in Thread>