* [PATCH] spi/imx: mark base member in spi_imx_data as __iomem
@ 2012-03-29 19:54 Uwe Kleine-König
[not found] ` <1333050858-26829-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2012-03-29 19:54 UTC (permalink / raw)
To: Grant Likely
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
kernel-bIcnvbaLZ9MEGnE8C9+IrQ
This fixes 36 sparse warnings like:
drivers/spi/spi-imx.c:143:1: warning: incorrect type in argument 1 (different address spaces)
drivers/spi/spi-imx.c:143:1: expected void const volatile [noderef] <asn:2>*<noident>
drivers/spi/spi-imx.c:143:1: got void *
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
drivers/spi/spi-imx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index 31054e3..373f4ff 100644
--- a/drivers/spi/spi-imx.c
+++ b/drivers/spi/spi-imx.c
@@ -83,7 +83,7 @@ struct spi_imx_data {
struct spi_bitbang bitbang;
struct completion xfer_done;
- void *base;
+ void __iomem *base;
int irq;
struct clk *clk;
unsigned long spi_clk;
--
1.7.9.1
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general
^ permalink raw reply related [flat|nested] 2+ messages in thread[parent not found: <1333050858-26829-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>]
* Re: [PATCH] spi/imx: mark base member in spi_imx_data as __iomem [not found] ` <1333050858-26829-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> @ 2012-03-30 22:39 ` Grant Likely 0 siblings, 0 replies; 2+ messages in thread From: Grant Likely @ 2012-03-30 22:39 UTC (permalink / raw) To: Uwe Kleine-König Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, kernel-bIcnvbaLZ9MEGnE8C9+IrQ [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1055 bytes --] On Thu, 29 Mar 2012 21:54:18 +0200, Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> wrote: > This fixes 36 sparse warnings like: > > drivers/spi/spi-imx.c:143:1: warning: incorrect type in argument 1 (different address spaces) > drivers/spi/spi-imx.c:143:1: expected void const volatile [noderef] <asn:2>*<noident> > drivers/spi/spi-imx.c:143:1: got void * > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> Applied, thanks g. > --- > drivers/spi/spi-imx.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c > index 31054e3..373f4ff 100644 > --- a/drivers/spi/spi-imx.c > +++ b/drivers/spi/spi-imx.c > @@ -83,7 +83,7 @@ struct spi_imx_data { > struct spi_bitbang bitbang; > > struct completion xfer_done; > - void *base; > + void __iomem *base; > int irq; > struct clk *clk; > unsigned long spi_clk; > -- > 1.7.9.1 > -- Grant Likely, B.Sc, P.Eng. Secret Lab Technologies,Ltd. [-- Attachment #2: Type: text/plain, Size: 191 bytes --] ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure [-- Attachment #3: Type: text/plain, Size: 210 bytes --] _______________________________________________ spi-devel-general mailing list spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/spi-devel-general ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-30 22:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-29 19:54 [PATCH] spi/imx: mark base member in spi_imx_data as __iomem Uwe Kleine-König
[not found] ` <1333050858-26829-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2012-03-30 22:39 ` Grant Likely
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).