diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-05-05 11:59:13 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-05 11:59:13 +0100 |
commit | ad902cb9e29a4d6ff155f682ae79d8d8b2b73a9b (patch) | |
tree | 3c3b59b35915df5fbdbe7b4855ce73d4cf78958a /include/asm-arm/hardware/iop3xx.h | |
parent | d2dd8b1fed314d22c50965f78f6895117c4abfc8 (diff) | |
download | op-kernel-dev-ad902cb9e29a4d6ff155f682ae79d8d8b2b73a9b.zip op-kernel-dev-ad902cb9e29a4d6ff155f682ae79d8d8b2b73a9b.tar.gz |
[ARM] iop: add missing parens in macro
Fix:
drivers/serial/8250.c:1837: warning: suggest parentheses around arithmetic in operand of |
due to a macro argument being used without required parenthesis.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/hardware/iop3xx.h')
-rw-r--r-- | include/asm-arm/hardware/iop3xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/hardware/iop3xx.h b/include/asm-arm/hardware/iop3xx.h index ebbcd9b..63feceb 100644 --- a/include/asm-arm/hardware/iop3xx.h +++ b/include/asm-arm/hardware/iop3xx.h @@ -42,7 +42,7 @@ extern int init_atu; IOP3XX_PERIPHERAL_SIZE - 1) #define IOP3XX_PERIPHERAL_UPPER_VA (IOP3XX_PERIPHERAL_VIRT_BASE +\ IOP3XX_PERIPHERAL_SIZE - 1) -#define IOP3XX_PMMR_PHYS_TO_VIRT(addr) (u32) ((u32) addr -\ +#define IOP3XX_PMMR_PHYS_TO_VIRT(addr) (u32) ((u32) (addr) -\ (IOP3XX_PERIPHERAL_PHYS_BASE\ - IOP3XX_PERIPHERAL_VIRT_BASE)) #define IOP3XX_REG_ADDR(reg) (IOP3XX_PERIPHERAL_VIRT_BASE + (reg)) |