From patchwork Tue Aug 26 14:13:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 36027 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3FD392054F for ; Tue, 26 Aug 2014 14:15:26 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id uq10sf20862613igb.3 for ; Tue, 26 Aug 2014 07:15:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=YYahkcAdCzcPP21S7i+4fdb+DCS7zqOelhhPOEkjwJY=; b=kb+yAWznDEkOM1HdByw8gj9INWvUaL3CZes0GgydqwUhxSiiAJORo2kMpYG5sOcHnk NAtRz4xv0mPe686NPN39geoBSNDtHAod1loaX12eVg9E/fMRpGWOin+XB0wqBDCrubsT oVkUunuQ79JPDmOrcxZdv+74z06ljz4f3x4MMqRQb+7NBAaCNdC8y3ELWVW7Zrc1u52F kyVv2PtCZad88HsA4W3GLL3LqtxQGSKF4A/WCj0kZLKm1s3crsCuRv3uHP9S2vs89o8B NfrqbEFPg2arNQfBj8UwnMZwHs1O8qQk15/R0M1S/FEf1G4kdzM+LEhvD2D+m9iSchOi HxIg== X-Gm-Message-State: ALoCoQm/sJx0gYvjW8Jck3GUuJzwGayLv40Swh6ao9fBAT/zcVjPDhX8DrtK4gWRm7lcZ/j7Qic4 X-Received: by 10.50.136.194 with SMTP id qc2mr14249099igb.7.1409062525815; Tue, 26 Aug 2014 07:15:25 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.130 with SMTP id a2ls2518894qgf.90.gmail; Tue, 26 Aug 2014 07:15:25 -0700 (PDT) X-Received: by 10.236.56.101 with SMTP id l65mr938925yhc.195.1409062525381; Tue, 26 Aug 2014 07:15:25 -0700 (PDT) Received: from mail-yk0-f181.google.com (mail-yk0-f181.google.com [209.85.160.181]) by mx.google.com with ESMTPS id f24si2630016yhg.41.2014.08.26.07.15.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 07:15:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.160.181 as permitted sender) client-ip=209.85.160.181; Received: by mail-yk0-f181.google.com with SMTP id q200so11272808ykb.40 for ; Tue, 26 Aug 2014 07:15:25 -0700 (PDT) X-Received: by 10.52.3.40 with SMTP id 8mr20338042vdz.24.1409062525265; Tue, 26 Aug 2014 07:15:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp202725vcb; Tue, 26 Aug 2014 07:15:24 -0700 (PDT) X-Received: by 10.69.25.35 with SMTP id in3mr37949770pbd.63.1409062523827; Tue, 26 Aug 2014 07:15:23 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id pj3si4595176pdb.132.2014.08.26.07.15.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Aug 2014 07:15:23 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMHVf-0000l6-Fw; Tue, 26 Aug 2014 14:14:07 +0000 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMHVE-000890-UZ for linux-arm-kernel@lists.infradead.org; Tue, 26 Aug 2014 14:13:42 +0000 Received: from edgewater-inn.cambridge.arm.com (edgewater-inn.cambridge.arm.com [10.1.203.34]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id s7QEDIwo011807; Tue, 26 Aug 2014 15:13:18 +0100 (BST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id BEEAF1AE0612; Tue, 26 Aug 2014 15:13:37 +0100 (BST) From: Will Deacon To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/11] irqchip: gic-v3: declare rdist as __percpu pointer to __iomem pointer Date: Tue, 26 Aug 2014 15:13:27 +0100 Message-Id: <1409062410-25891-9-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.0.rc1 In-Reply-To: <1409062410-25891-1-git-send-email-will.deacon@arm.com> References: <1409062410-25891-1-git-send-email-will.deacon@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140826_071341_385367_0E77EE65 X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-5.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [217.140.96.50 listed in list.dnswl.org] 0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record Cc: Marc Zyngier , catalin.marinas@arm.com, Will Deacon , Jason Cooper X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: will.deacon@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.160.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The __percpu __iomem annotations on the rdist base are contradictory and confuse static checkers such as sparse. This patch fixes the anotations so that rdist is described as a __percpu pointer to an __iomem pointer. Cc: Jason Cooper Cc: Marc Zyngier Signed-off-by: Will Deacon Acked-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index 57eaa5a0b1e3..4d7b7c28c554 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -36,7 +36,7 @@ struct gic_chip_data { void __iomem *dist_base; void __iomem **redist_base; - void __percpu __iomem **rdist; + void __iomem * __percpu *rdist; struct irq_domain *domain; u64 redist_stride; u32 redist_regions;