]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter tools: Fix error condition in parse_aliases()
authorIngo Molnar <mingo@elte.hu>
Sat, 6 Jun 2009 19:04:17 +0000 (21:04 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 6 Jun 2009 19:09:08 +0000 (21:09 +0200)
commit9b8cb4dced33edf55ad5a39f918f9cbfaa05a727
treee2054022b338a4d85a3e3de7a90194b52431ff31
parent6f58fec550e558b5caa21e537b97597f14eeb7a5
perf_counter tools: Fix error condition in parse_aliases()

gcc warned about this bug:

util/parse-events.c: In function ‘parse_generic_hw_symbols’:
util/parse-events.c:175: warning: comparison is always false due to limited range of data type
util/parse-events.c:182: warning: comparison is always false due to limited range of data type
util/parse-events.c:190: warning: comparison is always false due to limited range of data type

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c