mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
[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 <adobriyan@gmail.com> Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
parent
e8b736c860
commit
110957f0e5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue