|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] linux/blktap2: fix compiler warnings
>>> "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
|
|
|
|
|