From patchwork Mon Jul 11 13:02:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Reinecke X-Patchwork-Id: 104208 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 175A2B6F81 for ; Mon, 11 Jul 2011 23:20:04 +1000 (EST) Received: from localhost ([::1]:54592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgGP2-00084Z-9q for incoming@patchwork.ozlabs.org; Mon, 11 Jul 2011 09:20:00 -0400 Received: from eggs.gnu.org ([140.186.70.92]:37454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgG9A-0004l0-Cl for qemu-devel@nongnu.org; Mon, 11 Jul 2011 09:03:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgG98-0006qh-UH for qemu-devel@nongnu.org; Mon, 11 Jul 2011 09:03:36 -0400 Received: from cantor2.suse.de ([195.135.220.15]:36839 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgG98-0006qd-I5 for qemu-devel@nongnu.org; Mon, 11 Jul 2011 09:03:34 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id E0B7F92EF4; Mon, 11 Jul 2011 15:03:33 +0200 (CEST) From: Hannes Reinecke To: qemu-devel@nongnu.org Date: Mon, 11 Jul 2011 15:02:25 +0200 Message-Id: <1310389346-30790-4-git-send-email-hare@suse.de> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1310389346-30790-3-git-send-email-hare@suse.de> References: <1310389346-30790-1-git-send-email-hare@suse.de> <1310389346-30790-2-git-send-email-hare@suse.de> <1310389346-30790-3-git-send-email-hare@suse.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 195.135.220.15 Cc: Paolo Bonzini , Hannes Reinecke , Stefan Haynoczi , kvm@vger.kernel.org, Alexander Graf Subject: [Qemu-devel] [PATCH 3/4] scsi-disk: Fixup debugging statement X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org A debugging statement wasn't converted to the new interface. Signed-off-by: Hannes Reinecke Acked-by: Paolo Bonzini --- hw/scsi-disk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index c2a99fe..5804662 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -1007,7 +1007,7 @@ static int32_t scsi_send_command(SCSIRequest *req, uint8_t *buf) command = buf[0]; outbuf = (uint8_t *)r->iov.iov_base; - DPRINTF("Command: lun=%d tag=0x%x data=0x%02x", lun, tag, buf[0]); + DPRINTF("Command: lun=%d tag=0x%x data=0x%02x", req->lun, req->tag, buf[0]); if (scsi_req_parse(&r->req, buf) != 0) { BADF("Unsupported command length, command %x\n", command);