aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mm/mm-armv.c
diff options
context:
space:
mode:
authorOlav Kongas <ok@ee.rmk.(none)>2005-04-29 22:08:34 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-04-29 22:08:34 +0100
commit05f9869bf20e11bcb9b64b9ebd6a9cf89d6b71ba (patch)
tree007c152142085c5124337eda056e9798be53e084 /arch/arm/mm/mm-armv.c
parent2d2669b62984b8d76b05a6a045390a3250317d21 (diff)
[PATCH] ARM: 2649/1: Fix 'sparse -Wbitwise' warnings from MMIO macros
Patch from Olav Kongas On ARM, the outX() and writeX() families of macros take the result of cpu_to_leYY(), which is of restricted type __leYY, and feed it to __raw_writeX(), which expect an argument of unrestricted type. This results in 'sparse -Wbitwise' warnings about incorrect types in assignments. Analogous type mismatch warnings are issued for inX() and readX() counterparts. The below patch resolves these warnings by adding forced typecasts. Signed-off-by: Olav Kongas Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/mm-armv.c')
0 files changed, 0 insertions, 0 deletions