Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ad902cb9e29a4d6ff155f682ae79d8d8b2b73a9b
Commit:     ad902cb9e29a4d6ff155f682ae79d8d8b2b73a9b
Parent:     d2dd8b1fed314d22c50965f78f6895117c4abfc8
Author:     Russell King <[EMAIL PROTECTED]>
AuthorDate: Sat May 5 11:59:13 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Sat May 5 11:59:13 2007 +0100

    [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 <[EMAIL PROTECTED]>
---
 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))
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to