* [PATCH] i2c: tegra: __iomem annotation fix
@ 2011-10-13 0:33 Olof Johansson
[not found] ` <1318465980-625-1-git-send-email-olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Olof Johansson @ 2011-10-13 0:33 UTC (permalink / raw)
To: Ben Dooks
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
swarren-DDmLM1+adcrQT0dZR+AlfA, Olof Johansson
drivers/i2c/busses/i2c-tegra.c:585:7: warning: incorrect type in assignment (different address spaces)
drivers/i2c/busses/i2c-tegra.c:585:7: expected void *base
drivers/i2c/busses/i2c-tegra.c:585:7: got void [noderef] <asn:2>*
drivers/i2c/busses/i2c-tegra.c:619:16: warning: incorrect type in assignment (different address spaces)
drivers/i2c/busses/i2c-tegra.c:619:16: expected void [noderef] <asn:2>*base
drivers/i2c/busses/i2c-tegra.c:619:16: got void *base
drivers/i2c/busses/i2c-tegra.c:689:10: warning: incorrect type in argument 1 (different address spaces)
drivers/i2c/busses/i2c-tegra.c:689:10: expected void volatile [noderef] <asn:2>*addr
drivers/i2c/busses/i2c-tegra.c:689:10: got void *base
Signed-off-by: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
---
drivers/i2c/busses/i2c-tegra.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index b402435..46b6500 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -567,7 +567,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
struct clk *clk;
struct clk *i2c_clk;
const unsigned int *prop;
- void *base;
+ void __iomem *base;
int irq;
int ret = 0;
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] i2c: tegra: __iomem annotation fix
[not found] ` <1318465980-625-1-git-send-email-olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
@ 2011-10-13 16:33 ` Stephen Warren
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Warren @ 2011-10-13 16:33 UTC (permalink / raw)
To: Olof Johansson, Ben Dooks
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Olof Johansson wrote at Wednesday, October 12, 2011 6:33 PM:
> drivers/i2c/busses/i2c-tegra.c:585:7: warning: incorrect type in assignment (different address spaces)
> drivers/i2c/busses/i2c-tegra.c:585:7: expected void *base
> drivers/i2c/busses/i2c-tegra.c:585:7: got void [noderef] <asn:2>*
> drivers/i2c/busses/i2c-tegra.c:619:16: warning: incorrect type in assignment (different address
> spaces)
> drivers/i2c/busses/i2c-tegra.c:619:16: expected void [noderef] <asn:2>*base
> drivers/i2c/busses/i2c-tegra.c:619:16: got void *base
> drivers/i2c/busses/i2c-tegra.c:689:10: warning: incorrect type in argument 1 (different address
> spaces)
> drivers/i2c/busses/i2c-tegra.c:689:10: expected void volatile [noderef] <asn:2>*addr
> drivers/i2c/busses/i2c-tegra.c:689:10: got void *base
>
> Signed-off-by: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
--
nvpublic
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-13 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-13 0:33 [PATCH] i2c: tegra: __iomem annotation fix Olof Johansson
[not found] ` <1318465980-625-1-git-send-email-olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
2011-10-13 16:33 ` Stephen Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox