From: Alexey Dobriyan Date: Wed, 11 Jan 2006 01:47:56 +0000 (-0500) Subject: [PARISC] Add __iomem to __raw_check_addr() X-Git-Tag: MMI-PSA29.97-13-9~53157^2~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=110957f0e521c8d14f97bbe955af2fa17bb720bf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PARISC] Add __iomem to __raw_check_addr() Add __iomem to __raw_check_addr(), which nukes ~13809 sparse warnings on allmodconfig. Signed-off-by: Alexey Dobriyan Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin --- diff --git a/include/asm-parisc/io.h b/include/asm-parisc/io.h index b9bb5946ecc9..0db00adc942a 100644 --- a/include/asm-parisc/io.h +++ b/include/asm-parisc/io.h @@ -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)