[<prev] [next>] [day] [month] [year] [list]
Message-ID: <efa8e58e0809061718l537f72b9t4b4721d6b25f4d1a@mail.gmail.com>
Date: Sun, 7 Sep 2008 02:18:33 +0200
From: "Rune V. Sjøen" <rvsjoen@...il.com>
To: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: [PATCH 2.6.27-rc5] Fix compilation warning "discards qualifiers from pointer target type" in io_32.h
Fixes compilation warning "discards qualifiers from pointer target
type" in io_32.h
Signed-off-by: Rune V. Sjøen <rvsjoen@...il.com>
---
--- a/include/asm-x86/io_32.h
+++ b/include/asm-x86/io_32.h
@@ -152,7 +152,7 @@ memcpy_fromio(void *dst, const void __iomem *src, int count)
}
static inline void
-memcpy_toio(volatile void __iomem *dst, const void *src, int count)
+memcpy_toio(void __iomem *dst, const void *src, int count)
{
__memcpy((void __force *)dst, src, count);
}
--
Rune V. Sjøen
You always pass failure on the way to success
Powered by blists - more mailing lists