Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f24ae12b3eeb1b956b752d4d5907e311cfa95a1a
Commit:     f24ae12b3eeb1b956b752d4d5907e311cfa95a1a
Parent:     e1bb828906e54ffb7e8b358516158ffdcf9581b8
Author:     Atsushi Nemoto <[EMAIL PROTECTED]>
AuthorDate: Sat Jul 14 00:06:44 2007 +0900
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Fri Jul 13 17:40:01 2007 +0100

    [MIPS] Workaround for a sparse warning in 
include/asm-mips/mach-tx4927/ioremap.h
    
    include2/asm/mach-tx49xx/ioremap.h:39:52: warning: cast truncates bits from 
constant value (fff000000 becomes ff000000)
    
    Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 include/asm-mips/mach-tx49xx/ioremap.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/asm-mips/mach-tx49xx/ioremap.h 
b/include/asm-mips/mach-tx49xx/ioremap.h
index 88cf546..1e7beae 100644
--- a/include/asm-mips/mach-tx49xx/ioremap.h
+++ b/include/asm-mips/mach-tx49xx/ioremap.h
@@ -36,7 +36,8 @@ static inline void __iomem *plat_ioremap(phys_t offset, 
unsigned long size,
 
 static inline int plat_iounmap(const volatile void __iomem *addr)
 {
-       return (unsigned long)addr >= (unsigned long)(int)TXX9_DIRECTMAP_BASE;
+       return (unsigned long)addr >=
+               (unsigned long)(int)(TXX9_DIRECTMAP_BASE & 0xffffffff);
 }
 
 #endif /* __ASM_MACH_TX49XX_IOREMAP_H */
-
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