• I
    perf_counter tools: Fix error condition in parse_aliases() · 8953645f
    Ingo Molnar 提交于
    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: NIngo Molnar <mingo@elte.hu>
    8953645f
parse-events.c 7.2 KB