• Adrian Bunk's avatar
    [MIPS] RB532: Flags are unsigned long · 8b32d6d0
    Adrian Bunk authored
    A recent generic change now catches such bugs:
    
    <--  snip  -->
    
    ...
      CC      arch/mips/rb532/time.o
    cc1: warnings being treated as errors
    /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/rb532/time.c: In function 'plat_time_init':
    /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/rb532/time.c:55: error: comparison of distinct pointer types lacks a cast
    /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/rb532/time.c:66: error: comparison of distinct pointer types lacks a cast
    make[2]: *** [arch/mips/rb532/time.o] Error 1
    
    <--  snip  -->
    Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    8b32d6d0
time.c 1.95 KB