Commit 110957f0 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Kyle McMartin

[PARISC] Add __iomem to __raw_check_addr()

Add __iomem to __raw_check_addr(), which nukes ~13809 sparse
warnings on allmodconfig.
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarMatthew Wilcox <matthew@wil.cx>
Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent e8b736c8
...@@ -41,7 +41,7 @@ extern void __raw_bad_addr(const volatile void __iomem *addr); ...@@ -41,7 +41,7 @@ extern void __raw_bad_addr(const volatile void __iomem *addr);
#define __raw_check_addr(addr) \ #define __raw_check_addr(addr) \
if (((unsigned long)addr >> NYBBLE_SHIFT) != 0xe) \ if (((unsigned long)addr >> NYBBLE_SHIFT) != 0xe) \
__raw_bad_addr(addr); \ __raw_bad_addr(addr); \
addr = (void *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT)); addr = (void __iomem *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT));
#else #else
#define gsc_check_addr(addr) #define gsc_check_addr(addr)
#define __raw_check_addr(addr) #define __raw_check_addr(addr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment