Skip to contentSkip to conversation

Fix compilation warning "discards qualifiers from pointer target type"

PATCH New Rune V. Sjøen 1 participant 1 message Apr 25, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compilation warning "discards qualifiers from pointer target type"

Fix compilation warning "discards qualifiers from pointer target type" in include/asm-x86/io_32.h

---

include/asm-x86/io_32.h 2008-04-25 13:52:19.000000000 +0200 renamed from include/asm-x86/io_32.h 2008-04-17 04:49:44.000000000 +0200 +1 -1
@@ -211,7 +211,7 @@ memset_io(volatile void __iomem *addr, u
 }
 
 static inline void
-memcpy_fromio(void *dst, const volatile void __iomem *src, int count)
+memcpy_fromio(void *dst, const void __iomem *src, int count)
 {
        __memcpy(dst, (const void __force *)src, count);
 }