From patchwork Tue Oct 11 16:32:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Covington X-Patchwork-Id: 680816 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3stjGj3cDxz9ryr for ; Wed, 12 Oct 2016 03:33:17 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=codeaurora.org header.i=@codeaurora.org header.b=U//fFPRUECotuIOlfuk4U/c6lewrxmt2f7+4cd8CRkVom0RGVK+8mU/tmt3PzA/IrtckBTbVOFT7eNxEbmXjbHvlDc9Y0L/Zh9wEJEqMVGSb/TeNZCJeL0MtDgHpBM7c7wJq3MiwPtVlQWCFnAR8WM7N244NIB6fPBObdAAEge0=; dkim=fail reason="signature verification failed" (1024-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b=U//fFPRUECotuIOlfuk4U/c6lewrxmt2f7+4cd8CRkVom0RGVK+8mU/tmt3PzA/IrtckBTbVOFT7eNxEbmXjbHvlDc9Y0L/Zh9wEJEqMVGSb/TeNZCJeL0MtDgHpBM7c7wJq3MiwPtVlQWCFnAR8WM7N244NIB6fPBObdAAEge0=; dkim-atps=neutral Received: from localhost ([::1]:56925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btzzM-0003nO-3c for incoming@patchwork.ozlabs.org; Tue, 11 Oct 2016 12:33:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btzyX-0003Nh-2s for qemu-devel@nongnu.org; Tue, 11 Oct 2016 12:32:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btzyV-0007DF-3W for qemu-devel@nongnu.org; Tue, 11 Oct 2016 12:32:20 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btzyN-00079C-Q9; Tue, 11 Oct 2016 12:32:12 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EB7F461822; Tue, 11 Oct 2016 16:32:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1476203529; bh=2GdA/z2TxRD6+WDFYFyF95HXl/Kuu+JHO8yQfE1rE9E=; h=From:To:Cc:Subject:Date:From; b=U//fFPRUECotuIOlfuk4U/c6lewrxmt2f7+4cd8CRkVom0RGVK+8mU/tmt3PzA/Ir tckBTbVOFT7eNxEbmXjbHvlDc9Y0L/Zh9wEJEqMVGSb/TeNZCJeL0MtDgHpBM7c7wJ q3MiwPtVlQWCFnAR8WM7N244NIB6fPBObdAAEge0= Received: from rtp-lab-has1.qualcomm.com (global_nat1_iad_fw.qualcomm.com [129.46.232.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: cov@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B497F61787; Tue, 11 Oct 2016 16:32:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1476203529; bh=2GdA/z2TxRD6+WDFYFyF95HXl/Kuu+JHO8yQfE1rE9E=; h=From:To:Cc:Subject:Date:From; b=U//fFPRUECotuIOlfuk4U/c6lewrxmt2f7+4cd8CRkVom0RGVK+8mU/tmt3PzA/Ir tckBTbVOFT7eNxEbmXjbHvlDc9Y0L/Zh9wEJEqMVGSb/TeNZCJeL0MtDgHpBM7c7wJ q3MiwPtVlQWCFnAR8WM7N244NIB6fPBObdAAEge0= DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org B497F61787 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=cov@codeaurora.org From: Christopher Covington To: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org Date: Tue, 11 Oct 2016 12:32:02 -0400 Message-Id: <20161011163202.19720-1-cov@codeaurora.org> X-Mailer: git-send-email 2.9.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 198.145.29.96 Subject: [Qemu-devel] [PATCH] hw/intc/arm_gic_kvm: Fix build on aarch64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jones , Christopher Covington , Shanker Donthineni Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Remove unused debugging code to fix native building on aarch64. Without this change, the following -Werr output inhibits make from completing. qemu/hw/intc/arm_gic_kvm.c:38:18: error: debug_gic_kvm defined but not used [-Werror=unused-const-variable=] static const int debug_gic_kvm = 0; ^~~~~~~~~~~~~ cc1: all warnings being treated as errors qemu/rules.mak:60: recipe for target 'hw/intc/arm_gic_kvm.o' failed make[1]: *** [hw/intc/arm_gic_kvm.o] Error 1 Makefile:205: recipe for target 'subdir-aarch64-softmmu' failed Signed-off-by: Christopher Covington Reviewed-by: Peter Maydell --- hw/intc/arm_gic_kvm.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/hw/intc/arm_gic_kvm.c b/hw/intc/arm_gic_kvm.c index ae7ac58..11729ee 100644 --- a/hw/intc/arm_gic_kvm.c +++ b/hw/intc/arm_gic_kvm.c @@ -30,20 +30,6 @@ #include "gic_internal.h" #include "vgic_common.h" -//#define DEBUG_GIC_KVM - -#ifdef DEBUG_GIC_KVM -static const int debug_gic_kvm = 1; -#else -static const int debug_gic_kvm = 0; -#endif - -#define DPRINTF(fmt, ...) do { \ - if (debug_gic_kvm) { \ - printf("arm_gic: " fmt , ## __VA_ARGS__); \ - } \ - } while (0) - #define TYPE_KVM_ARM_GIC "kvm-arm-gic" #define KVM_ARM_GIC(obj) \ OBJECT_CHECK(GICState, (obj), TYPE_KVM_ARM_GIC)