From patchwork Tue Jun 13 14:06:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 105366 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp436950qgd; Tue, 13 Jun 2017 07:34:28 -0700 (PDT) X-Received: by 10.55.15.9 with SMTP id z9mr19708533qkg.195.1497364468537; Tue, 13 Jun 2017 07:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497364468; cv=none; d=google.com; s=arc-20160816; b=aixgTBPdiKTCcqWzYkh61W7r7veXDLy9f6XJ7zLW48ZjI2UoxAK83+2bBIDL4cB1E5 Rc2JylGRYn/ZbVoWPYhr2k4T9dSXLK67WsIq3lWe3+Whf0+ycVAx85ABZYNrnKLDZdEn Er1kX0grwcyl5yIWgJqYvdd1Z16HybDi+cVe2TE3UvL4D+/It5ck8ULLx9FNYsjvFCwl gc1NVKXVLotS4MOji0bw2PhsXm+FUxjmh4RWA3wUjhUEfUVrNeBacfCVrNFll5aMHcEh ARCaBDVu6YpRq4V4veACdTqzNNSQIueGWi+eWGkW4QQp0QaKAZ7FRhH7GfoCxmMntntU cpQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:arc-authentication-results; bh=oPWrO03rECRuJgmjQTExOdSnWQ/4v35YponjuZf33n8=; b=LCyWtSLrrIbFA7pnfcrpLInUltqdk2829y3p50Z19e7C9KzqX6pYP7sKpM+G7+brsl vEugiWGDH7aTb9C3dL7bAZfzja5b5Brd4HwgHc51mVe3lXbjhR/ooRQnVUkNq3oDqoVv AyoYsHfsCsxNLJazYJrC1HjtTfrduE75A9s+52f2LXFvV9npgDVvC8R9RZMdLn4/HJpB 6SzncQyZ9sEMntIYzYkaf6S2YLJDbx2yFsarhQWLNYqX9MSZmDoXYpEdxmhJZ6eaWLg3 lW5dCl+Y799dLxDOBdgUOEG9nFSb5IGn1iIb6bHaYkSaJVnvtB5F3N78LI1vd6u/q3s9 P9Dw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id i29si83878qtf.132.2017.06.13.07.34.28 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 13 Jun 2017 07:34:28 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:43617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKmtl-0001GQ-Se for patch@linaro.org; Tue, 13 Jun 2017 10:34:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKmTl-0005QF-NF for qemu-devel@nongnu.org; Tue, 13 Jun 2017 10:07:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKmTb-0006hy-Mk for qemu-devel@nongnu.org; Tue, 13 Jun 2017 10:07:33 -0400 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:37258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKmTb-0006fN-Gm for qemu-devel@nongnu.org; Tue, 13 Jun 2017 10:07:23 -0400 Received: from pm215 by orth.archaic.org.uk with local (Exim 4.84_2) (envelope-from ) id 1dKmTR-00013T-DG for qemu-devel@nongnu.org; Tue, 13 Jun 2017 15:07:13 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 13 Jun 2017 15:06:57 +0100 Message-Id: <1497362826-21125-9-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497362826-21125-1-git-send-email-peter.maydell@linaro.org> References: <1497362826-21125-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:8b0:1d0::2 Subject: [Qemu-devel] [PULL 08/17] hw/intc/exynos4210_gic: Constify array of combiner interrupts 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Krzysztof Kozlowski The static array of interrupt combiner mappings is not modified so it can be made const for code safeness. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Peter Maydell --- hw/intc/exynos4210_gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/hw/intc/exynos4210_gic.c b/hw/intc/exynos4210_gic.c index 62acede..b6b00a4 100644 --- a/hw/intc/exynos4210_gic.c +++ b/hw/intc/exynos4210_gic.c @@ -116,7 +116,7 @@ enum ExtInt { * which is INTG16 in Internal Interrupt Combiner. */ -static uint32_t +static const uint32_t combiner_grp_to_gic_id[64-EXYNOS4210_MAX_EXT_COMBINER_OUT_IRQ][8] = { /* int combiner groups 16-19 */ { }, { }, { }, { },