lkml.org 
[lkml]   [2008]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@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);
}

\
 
 \ /
  Last update: 2008-04-25 14:27    [W:0.020 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site