Re: [PATCH] irqchip/sirfsoc: fix sparse warnings on __iomem
From: Jason Cooper
Date: Sun Jun 12 2016 - 21:08:49 EST
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@xxxxxxxxxxxxxxx>
> ---
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Jason Cooper <jason@xxxxxxxxxxxxxx>
> Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
> Cc: Barry Song <baohua@xxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> ---
> drivers/irqchip/irq-sirfsoc.c | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
Applied to irqchip/misc
thx,
Jason.