From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz5It-00027A-Gc for qemu-devel@nongnu.org; Mon, 23 Jun 2014 10:33:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz5Im-0004K3-1c for qemu-devel@nongnu.org; Mon, 23 Jun 2014 10:33:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz5Il-0004JZ-Q6 for qemu-devel@nongnu.org; Mon, 23 Jun 2014 10:32:55 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5NEWt9x001283 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 23 Jun 2014 10:32:55 -0400 From: Marcel Apfelbaum Date: Mon, 23 Jun 2014 17:32:47 +0300 Message-Id: <1403533969-27919-2-git-send-email-marcel.a@redhat.com> In-Reply-To: <1403533969-27919-1-git-send-email-marcel.a@redhat.com> References: <1403533969-27919-1-git-send-email-marcel.a@redhat.com> Subject: [Qemu-devel] [PATCH v3 1/3] hw/pcie: corrected a debug message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com Trivial issue, discovered while debugging. Signed-off-by: Marcel Apfelbaum --- hw/pci/pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pci/pcie.c b/hw/pci/pcie.c index 02cde6f..ae92f00 100644 --- a/hw/pci/pcie.c +++ b/hw/pci/pcie.c @@ -224,7 +224,7 @@ static void pcie_cap_slot_hotplug_common(PCIDevice *hotplug_dev, *exp_cap = hotplug_dev->config + hotplug_dev->exp.exp_cap; uint16_t sltsta = pci_get_word(*exp_cap + PCI_EXP_SLTSTA); - PCIE_DEV_PRINTF(PCI_DEVICE(dev), "hotplug state: %d\n", state); + PCIE_DEV_PRINTF(PCI_DEVICE(dev), "hotplug state: 0x%x\n", sltsta); if (sltsta & PCI_EXP_SLTSTA_EIS) { /* the slot is electromechanically locked. * This error is propagated up to qdev and then to HMP/QMP. -- 1.8.3.1