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

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

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] linux/blktap2: fix compiler further warnings
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Tue, 09 Jun 2009 16:28:08 +0100
Delivery-date: Tue, 09 Jun 2009 08:28:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] linux/blktap2: fix compiler further warnings, Jan Beulich <=