Skip to contentSkip to conversation

mmc/android-goldfish: remove incorrect __iomem annotation

PATCH Applied Christoph Hellwig 2 participants 2 messages Aug 17, 2015 – Sep 1, 2015 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc/android-goldfish: remove incorrect __iomem annotation

Make sparse happy:

drivers/mmc/host/android-goldfish.c:535:56: sparse: incorrect type in argument 3 (different address spaces)

---
 drivers/mmc/host/android-goldfish.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/android-goldfish.c +1 -1
index b1eac71..dca5518 100644
@@ -118,7 +118,7 @@ struct goldfish_mmc_host {
 	struct mmc_host		*mmc;
 	struct device		*dev;
 	unsigned char		id; /* 16xx chips have 2 MMC blocks */
-	void __iomem		*virt_base;
+	void			*virt_base;
 	unsigned int		phys_base;
 	int			irq;
 	unsigned char		bus_mode;
Signature · 1 line
1.9.1
Applied
#1 lore raw

+linux-mmc
-Chris (don't maintain mmc no more)

Quoted 5 lines · Christoph Hellwig

Make sparse happy:

drivers/mmc/host/android-goldfish.c:535:56: sparse: incorrect type in argument 3 (different address spaces)

Normally I like you to post mmc patces to the linux-mmc list. As this is a trivial patch and the driver don't have a dedicated maintainer, I am going to pick it up anyway.

Thanks, applied for next!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/mmc/host/android-goldfish.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/android-goldfish.c +1 -2
index b1eac71..dca5518 100644
@@ -118,7 +118,7 @@ struct goldfish_mmc_host {
        struct mmc_host         *mmc;
        struct device           *dev;
        unsigned char           id; /* 16xx chips have 2 MMC blocks */
-       void __iomem            *virt_base;
+       void                    *virt_base;
        unsigned int            phys_base;
        int                     irq;
        unsigned char           bus_mode;
--

1.9.1