Skip to contentSkip to conversation

linux/blktap2: fix compiler further warnings

PATCH New Jan Beulich 1 participant 1 message Jun 9, 2009 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/blktap2: fix compiler further warnings

drivers/xen/blktap2/device.c +4 -3
@@ -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);
 	}
 }