[PARISC] Add __iomem to __raw_check_addr()
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 11 Jan 2006 01:47:56 +0000 (20:47 -0500)
committerKyle McMartin <kyle@duet.int.mcmartin.ca>
Wed, 11 Jan 2006 02:51:57 +0000 (21:51 -0500)
Add __iomem to __raw_check_addr(), which nukes ~13809 sparse
warnings on allmodconfig.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/asm-parisc/io.h

index b9bb5946ecc99dc23a0544c468fb55dfa17de357..0db00adc942a3756bb4dacb9b23a28cec7a8ba7d 100644 (file)
@@ -41,7 +41,7 @@ extern void __raw_bad_addr(const volatile void __iomem *addr);
 #define __raw_check_addr(addr)                                 \
        if (((unsigned long)addr >> NYBBLE_SHIFT) != 0xe)       \
                __raw_bad_addr(addr);                   \
-       addr = (void *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT));
+       addr = (void __iomem *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT));
 #else
 #define gsc_check_addr(addr)
 #define __raw_check_addr(addr)