[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160613005236.GG24391@io.lakedaemon.net>
Date: Mon, 13 Jun 2016 00:52:36 +0000
From: Jason Cooper <jason@...edaemon.net>
To: Ben Dooks <ben.dooks@...ethink.co.uk>
Cc: linux-kernel@...ts.codethink.co.uk,
Thomas Gleixner <tglx@...utronix.de>,
Marc Zyngier <marc.zyngier@....com>,
Barry Song <baohua@...nel.org>, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] irqchip/sirfsoc: fix sparse warnings on __iomem
Hi Ben,
On Tue, Jun 07, 2016 at 01:18:30PM +0100, Ben Dooks wrote:
> Fix warnings from sparse about casting to __iomem from non anotated
> variable:
>
> drivers/irqchip/irq-sirfsoc.c:56:47: warning: incorrect type in initializer (different address spaces)
> drivers/irqchip/irq-sirfsoc.c:56:47: expected void [noderef] <asn:2>*base
> drivers/irqchip/irq-sirfsoc.c:56:47: got void *host_data
> drivers/irqchip/irq-sirfsoc.c:97:47: warning: incorrect type in initializer (different address spaces)
> drivers/irqchip/irq-sirfsoc.c:97:47: expected void [noderef] <asn:2>*base
> drivers/irqchip/irq-sirfsoc.c:97:47: got void *host_data
> drivers/irqchip/irq-sirfsoc.c:109:47: warning: incorrect type in initializer (different address spaces)
> drivers/irqchip/irq-sirfsoc.c:109:47: expected void [noderef] <asn:2>*base
> drivers/irqchip/irq-sirfsoc.c:109:47: got void *host_data
>
> Signed-off-by: Ben Dooks <ben.dooks@...ethink.co.uk>
> ---
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Jason Cooper <jason@...edaemon.net>
> Cc: Marc Zyngier <marc.zyngier@....com>
> Cc: Barry Song <baohua@...nel.org>
> Cc: linux-kernel@...r.kernel.org
> Cc: linux-arm-kernel@...ts.infradead.org
> ---
> drivers/irqchip/irq-sirfsoc.c | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
Applied to irqchip/misc
thx,
Jason.
Powered by blists - more mailing lists