Commit-ID: fea322d1df439a8daefc6e00d65b879a03f83b17 Gitweb: http://git.kernel.org/tip/fea322d1df439a8daefc6e00d65b879a03f83b17 Author: Will Deacon <will.deacon@xxxxxxx> AuthorDate: Tue, 26 Aug 2014 15:13:27 +0100 Committer: Jason Cooper <jason@xxxxxxxxxxxxxx> CommitDate: Wed, 3 Sep 2014 12:08:10 +0000 irqchip: gic-v3: Declare rdist as __percpu pointer to __iomem pointer 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 <jason@xxxxxxxxxxxxxx> Cc: Marc Zyngier <marc.zyngier@xxxxxxx> Signed-off-by: Will Deacon <will.deacon@xxxxxxx> Acked-by: Marc Zyngier <marc.zyngier@xxxxxxx> Link: https://lkml.kernel.org/r/1409062410-25891-9-git-send-email-will.deacon@xxxxxxx Signed-off-by: Jason Cooper <jason@xxxxxxxxxxxxxx> --- 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 f1ba38f..a0698b4 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; -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |