[<prev] [next>] [day] [month] [year] [list]
Message-ID: <efa8e58e0804250525tfaefc89r28f788356a31e90e@mail.gmail.com>
Date: Fri, 25 Apr 2008 14:25:22 +0200
From: "Rune V. Sjøen" <rvsjoen@...il.com>
To: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: [PATCH] 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
Signed-off-by: Rune V. Sjoen <rvsjoen@...il.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);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists