Skip to contentSkip to conversation

arch/i386/kernel/pci-dma.c Remove some sparse warnings

PATCH New Peter Hagervall 1 participant 1 message Feb 5, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/i386/kernel/pci-dma.c Remove some sparse warnings

Not sure if this is the correct way of fixing this, but at least it compiles cleanly and seems to work for me.

arch/i386/kernel/pci-dma.c +1 -1
@@ -14,7 +14,7 @@
 #include <asm/io.h>
 
 struct dma_coherent_mem {
-	void		*virt_base;
+	void __iomem	*virt_base;
 	u32		device_base;
 	int		size;
 	int		flags;
Signature · 1 line
Peter Hagervall <[email protected]>