tracing: Fix function-graph build warning on 32-bit
authorBorislav Petkov <bp@alien8.de>
Wed, 29 Sep 2010 08:08:23 +0000 (10:08 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 13 Oct 2010 15:47:53 +0000 (17:47 +0200)
commit14cae9bd2faf6d0d75702c2e107e75207bcdfec1
tree78b3d25ee41713ae5324c6f19e149817605780ac
parent7cd2541cf2395962daf98ec32a141aba3398a9b2
tracing: Fix function-graph build warning on 32-bit

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: Borislav 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: Frederic Weisbecker <fweisbec@gmail.com>
kernel/trace/trace_functions_graph.c