From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNj5H-0006Aj-Ob for qemu-devel@nongnu.org; Tue, 17 Feb 2015 09:25:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNj5C-0000v1-Bx for qemu-devel@nongnu.org; Tue, 17 Feb 2015 09:25:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNj5C-0000tR-5C for qemu-devel@nongnu.org; Tue, 17 Feb 2015 09:25:02 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1HEP1iQ000439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 17 Feb 2015 09:25:01 -0500 From: Igor Mammedov Date: Tue, 17 Feb 2015 14:24:50 +0000 Message-Id: <1424183090-472-1-git-send-email-imammedo@redhat.com> In-Reply-To: <1423479254-15342-32-git-send-email-imammedo@redhat.com> References: <1423479254-15342-32-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v3 31/52] fixup! acpi: add aml_local() term List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com fixes: qemu-system-i386: hw/acpi/aml-build.c:723: aml_local: Assertion `op <= 7' failed. when pvpanic device is present Signed-off-by: Igor Mammedov --- this time make check on my host for all targets passes, /me sorry for mess again --- hw/acpi/aml-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index 8f06f56..6e12031 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -720,7 +720,7 @@ Aml *aml_local(int num) Aml *var; uint8_t op = 0x60 /* Local0Op */ + num; - assert(op <= 7); + assert(num <= 7); var = aml_opcode(op); return var; } -- 1.8.3.1