• Andrew Morton's avatar
    do_div() takes a u64. The mips build warns: · 069b4675
    Andrew Morton authored
    In file included from include/trace/ftrace.h:635,
                     from include/trace/define_trace.h:61,
                     from include/trace/events/lockdep.h:96,
                     from kernel/lockdep.c:52:
    include/trace/events/lockdep.h: In function `ftrace_raw_event_lock_acquired':
    include/trace/events/lockdep.h:71: warning: comparison of distinct pointer types lacks a cast
    
    from the check in include/asm-generic/div64.h:do_div().
    
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    069b4675
lockdep.h 1.93 KB