Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c617360afaeeef4bf3768dc0537edfc72ffb2763
Commit:     c617360afaeeef4bf3768dc0537edfc72ffb2763
Parent:     b55d1b1814c52463c11707f53dbdc223e09b2924
Author:     Russell King <[EMAIL PROTECTED]>
AuthorDate: Thu Nov 1 21:27:59 2007 +0000
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Mon Nov 5 09:40:27 2007 +0000

    [ARM] Fix iop3xx macro
    
    Macro arguments used in expressions should have parens.  This avoids
    warnings such as:
    
    drivers/serial/8250.c:1951: warning: suggest parentheses around arithmetic 
in operand of |
    
    Acked-by: Dan Williams <[EMAIL PROTECTED]>
    Acked-by: Lennert Buytenhek <[EMAIL PROTECTED]>
    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 fb90b42..ede377e 100644
--- a/include/asm-arm/hardware/iop3xx.h
+++ b/include/asm-arm/hardware/iop3xx.h
@@ -231,7 +231,7 @@ extern int init_atu;
                                        IOP3XX_PCI_IO_WINDOW_SIZE - 1)
 #define IOP3XX_PCI_UPPER_IO_VA         (IOP3XX_PCI_LOWER_IO_VA +\
                                        IOP3XX_PCI_IO_WINDOW_SIZE - 1)
-#define IOP3XX_PCI_IO_PHYS_TO_VIRT(addr) (((u32) addr -\
+#define IOP3XX_PCI_IO_PHYS_TO_VIRT(addr) (((u32) (addr) -\
                                        IOP3XX_PCI_LOWER_IO_PA) +\
                                        IOP3XX_PCI_LOWER_IO_VA)
 
-
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