# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245146839 -3600
# Node ID 046a6eabd4dc70db61d26321d45155ca6e8bddfd
# Parent 214ff2a7c9900f5d8bac55a569224a0029173a0f
blktap2: fix compiler further warnings
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
drivers/xen/blktap2/device.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff -r 214ff2a7c990 -r 046a6eabd4dc drivers/xen/blktap2/device.c
--- a/drivers/xen/blktap2/device.c Tue Jun 16 11:06:10 2009 +0100
+++ b/drivers/xen/blktap2/device.c Tue Jun 16 11:07:19 2009 +0100
@@ -825,8 +825,8 @@ blktap_device_run_queue(struct blktap *t
BTDBG("req %p: dev %d cmd %p, sec 0x%llx, (0x%x/0x%lx) "
"buffer:%p [%s], pending: %p\n", req, tap->minor,
- req->cmd, req->sector, req->current_nr_sectors,
- req->nr_sectors, req->buffer,
+ req->cmd, (unsigned long long)req->sector,
+ req->current_nr_sectors, req->nr_sectors, req->buffer,
rq_data_dir(req) ? "write" : "read", request);
blkdev_dequeue_request(req);
@@ -880,7 +880,8 @@ fail:
fail:
while ((req = elv_next_request(rq))) {
BTERR("device closed: failing secs %llu - %llu\n",
- req->sector, req->sector + req->nr_sectors);
+ (unsigned long long)req->sector,
+ (unsigned long long)req->sector + req->nr_sectors);
end_request(req, 0);
}
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|