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] linux/blktap2: fix compiler warnings

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] linux/blktap2: fix compiler warnings
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 May 2009 08:55:04 -0700
Delivery-date: Fri, 29 May 2009 09:01:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1243584997 -3600
# Node ID 85a4c18ad9aab0ed2c31792fa75491b8daca8f08
# Parent  3e01555dd227992e00a75cfe9c4d12f42f55cac2
linux/blktap2: fix compiler warnings

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/blktap2/device.c |    2 +-
 drivers/xen/blktap2/sysfs.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 3e01555dd227 -r 85a4c18ad9aa drivers/xen/blktap2/device.c
--- a/drivers/xen/blktap2/device.c      Thu May 28 10:05:02 2009 +0100
+++ b/drivers/xen/blktap2/device.c      Fri May 29 09:16:37 2009 +0100
@@ -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;
 }
diff -r 3e01555dd227 -r 85a4c18ad9aa drivers/xen/blktap2/sysfs.c
--- a/drivers/xen/blktap2/sysfs.c       Thu May 28 10:05:02 2009 +0100
+++ b/drivers/xen/blktap2/sysfs.c       Fri May 29 09:16:37 2009 +0100
@@ -188,7 +188,7 @@ out:
 out:
        blktap_sysfs_exit(tap);
 
-       BTDBG("returning %d\n", (err ? err : size));
+       BTDBG("returning %zd\n", (err ? err : size));
        return (err ? err : size);
 }
 

_______________________________________________
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] linux/blktap2: fix compiler warnings, Xen patchbot-linux-2.6.18-xen <=