[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

--- head-2009-06-09.orig/drivers/xen/blktap2/device.c   2009-06-09 
15:43:48.000000000 +0200
+++ head-2009-06-09/drivers/xen/blktap2/device.c        2009-06-09 
16:42:25.000000000 +0200
@@ -832,8 +832,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);
@@ -887,7 +887,8 @@ blktap_device_do_request(struct request_
 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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.