From: "Jan Beulich" Subject: [PATCH] linux/blktap2: fix compiler further warnings Date: Tue, 09 Jun 2009 16:28:08 +0100 Message-ID: <4A2E9BA802000078000050EB@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Jan Beulich --- 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 =20 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); =20 blkdev_dequeue_request(req); @@ -887,7 +887,8 @@ blktap_device_do_request(struct request_ fail: while ((req =3D 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); } }