irqchip/sirfsoc: Fix sparse warnings on __iomem
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 7 Jun 2016 12:18:30 +0000 (13:18 +0100)
committerJason Cooper <jason@lakedaemon.net>
Mon, 13 Jun 2016 00:48:31 +0000 (00:48 +0000)
commit4a3691ccb3ce627874b93c000a9cdd86784e06cb
tree75399d87777097443806e042c161bea0c67da1b4
parent1a695a905c18548062509178b98bc91e67510864
irqchip/sirfsoc: Fix sparse warnings on __iomem

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@codethink.co.uk>
Link: https://lkml.kernel.org/r/1465301910-2308-1-git-send-email-ben.dooks@codethink.co.uk
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-sirfsoc.c