• Borislav Petkov's avatar
    tracing: Fix function-graph build warning on 32-bit · 14cae9bd
    Borislav Petkov authored
    Fix
    
    kernel/trace/trace_functions_graph.c: In function ‘trace_print_graph_duration’:
    kernel/trace/trace_functions_graph.c:652: warning: comparison of distinct pointer types lacks a cast
    
    when building 36-rc6 on a 32-bit due to the strict type check failing
    in the min() macro.
    Signed-off-by: default avatarBorislav Petkov <bp@alien8.de>
    Cc: Chase Douglas <chase.douglas@canonical.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    LKML-Reference: <20100929080823.GA13595@liondog.tnic>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    14cae9bd
trace_functions_graph.c 33.1 KB