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

[Xen-changelog] [linux-2.6.18-xen] blktap2: fix compiler further warning

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] blktap2: fix compiler further warnings
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Jun 2009 09:05:06 -0700
Delivery-date: Tue, 16 Jun 2009 09:05:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] blktap2: fix compiler further warnings, Xen patchbot-linux-2.6.18-xen <=