mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Fix compilation warning "discards qualifiers from pointer target type"
@ 2008-04-25 12:25 Rune V. Sjøen
  0 siblings, 0 replies; only message in thread
From: Rune V. Sjøen @ 2008-04-25 12:25 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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

Signed-off-by: Rune V. Sjoen <rvsjoen@gmail.com>
---

--- clean/include/asm-x86/io_32.h       2008-04-17 04:49:44.000000000 +0200
+++ linux/include/asm-x86/io_32.h       2008-04-25 13:52:19.000000000 +0200
@@ -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);
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-25 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-25 12:25 [PATCH] Fix compilation warning "discards qualifiers from pointer target type" Rune V. Sjøen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®