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